From: Kevin O'Connor Date: Thu, 30 Aug 2012 01:27:37 +0000 (-0400) Subject: Make iasl option check work with older versions of iasl. X-Git-Tag: rel-1.7.1 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=51755c3b5ed9dcdfdef8cee56631d68642bde416;p=seabios.git Make iasl option check work with older versions of iasl. Signed-off-by: Kevin O'Connor --- diff --git a/Makefile b/Makefile index 72ee152..45ea48a 100644 --- a/Makefile +++ b/Makefile @@ -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