VirtualBox

Changeset 108239 in vbox


Ignore:
Timestamp:
Feb 16, 2025 2:45:37 PM (3 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
167560
Message:

Revert r167559 for now as edk2 depends on iasl (configure,Config.kmk: Drop the iasl dependency, bugref:10733)

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r108238 r108239  
    25332533endif
    25342534
     2535
     2536# Intel ASL compiler for ACPI
     2537VBOX_IASLCMD   ?= $(firstword $(wildcard $(KBUILD_DEVTOOLS_HST)/bin/iasl$(HOSTSUFF_EXE)) iasl$(HOSTSUFF_EXE))
    25352538
    25362539# libxslt XSLT processor. (see PATH_TOOL_YASM for explanation why it's temporarily located in bin.)
  • trunk/configure

    r108238 r108239  
    131131CXX64=""
    132132YASM="yasm"
     133IASL="iasl"
    133134XSLTPROC="xsltproc"
    134135INCCRYPTO=""
     
    657658        log_success "found version $yasm_ver"
    658659      fi
     660    fi
     661  fi
     662}
     663
     664
     665#
     666# Check for the iasl ACPI compiler, needed to compile vbox.dsl
     667#
     668check_iasl()
     669{
     670  test_header iasl
     671  if check_avail "$IASL" IASL; then
     672    iasl_ver=`$IASL|grep "ASL.*version"|sed 's+^ASL.*version \([0-9]*\).*+\1+'`
     673    if [ $? -ne 0 ]; then
     674      log_failure "iasl not found"
     675      fail
     676    else
     677      log_success "found version $iasl_ver"
     678      cnf_append "VBOX_IASLCMD" "`which_wrapper $IASL`"
    659679    fi
    660680  fi
     
    25492569  --with-g++=PATH          location of the g++ compiler [$CXX]
    25502570  --with-kbuild=DIR        kbuild directory [$KBUILDDIR]
    2551   --with-yasm=PATH         location of the yasm compiler [$YASM]
     2571  --with-iasl=PATH         location of the iasl compiler [$IASL]
     2572  --with-yasm=PATH         location of the iasl compiler [$YASM]
    25522573  --with-makeself=PATH     location of makeself [$MAKESELF]
    25532574EOF
     
    26822703      GSOAP_IMPORT=`echo $option | cut -d'=' -f2`
    26832704      ;;
     2705    --with-iasl=*)
     2706      IASL=`echo $option | cut -d'=' -f2`
     2707      ;;
    26842708    --with-yasm=*)
    26852709      YASM=`echo $option | cut -d'=' -f2`
     
    29923016if [ $ONLY_ADDITIONS -eq 0 ]; then
    29933017  check_open_watcom
     3018  [ "$OS" != "darwin"  ] && check_iasl
    29943019  [ $OSE -ge 1 ] && check_yasm
    29953020  [ "$OS" != "darwin"  ] && check_xsltproc
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette