Make iasl option check work with older versions of iasl.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2012-08-29 21:27:37 -04:00
parent 7a39e72d86
commit 51755c3b5e
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ $(OUT)vgabios.bin: $(OUT)vgabios.bin.raw tools/buildrom.py
################ DSDT build rules
iasl-option=$(shell if "$(1)" "$(2)" -h > /dev/null 2>&1 \
iasl-option=$(shell if test -z "`$(1) $(2) 2>&1 > /dev/null`" \
; then echo "$(2)"; else echo "$(3)"; fi ;)
$(OUT)%.hex: src/%.dsl ./tools/acpi_extract_preprocess.py ./tools/acpi_extract.py