Add IASL definition to the Makefile.
Add IASL definition to Makefile so it can be passed by the user.
Signed-off-by: Marc Jones <marc.jones@se-eng.com>
diff --git a/Makefile b/Makefile
index 48715bf..7d01652 100644
--- a/Makefile
+++ b/Makefile
@@ -62,6 +62,7 @@
OBJDUMP=objdump
STRIP=strip
PYTHON=python
+IASL:=iasl
# Default targets
-include $(KCONFIG_CONFIG)
@@ -223,7 +224,7 @@
@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 > $@