]> xenbits.xensource.com Git - seabios.git/commitdiff
Add IASL definition to the Makefile.
authorMarc Jones <marc.jones@se-eng.com>
Sun, 29 Apr 2012 17:20:53 +0000 (11:20 -0600)
committerKevin O'Connor <kevin@koconnor.net>
Mon, 30 Apr 2012 12:47:03 +0000 (08:47 -0400)
Add IASL definition to Makefile so it can be passed by the user.

Signed-off-by: Marc Jones <marc.jones@se-eng.com>
Makefile

index 48715bfe5bea0f4c89c920854d52433152bf3c51..7d01652e6235f74197457075b64bd49bba433d2e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -62,6 +62,7 @@ OBJCOPY=objcopy
 OBJDUMP=objdump
 STRIP=strip
 PYTHON=python
+IASL:=iasl
 
 # Default targets
 -include $(KCONFIG_CONFIG)
@@ -223,7 +224,7 @@ src/%.hex: src/%.dsl ./tools/acpi_extract_preprocess.py ./tools/acpi_extract.py
        @echo "Compiling DSDT"
        $(Q)cpp -P $< > $(OUT)$*.dsl.i.orig
        $(Q)$(PYTHON) ./tools/acpi_extract_preprocess.py $(OUT)$*.dsl.i.orig > $(OUT)$*.dsl.i
-       $(Q)iasl -l -tc -p $(OUT)$* $(OUT)$*.dsl.i
+       $(Q)$(IASL) -l -tc -p $(OUT)$* $(OUT)$*.dsl.i
        $(Q)$(PYTHON) ./tools/acpi_extract.py $(OUT)$*.lst > $(OUT)$*.off
        $(Q)cat $(OUT)$*.off > $@