diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2012-05-30 21:31:42 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2012-05-30 21:31:42 -0400 |
commit | 51d6ba3e6fac2e78679145fe34f3861225670ae9 (patch) | |
tree | 29865a9a110d0413ee7f69d61be6c57a0455fbcd /Makefile | |
parent | 640cd0ad8136a05a747af858ad463185e8dc6878 (diff) | |
download | seabios-hppa-51d6ba3e6fac2e78679145fe34f3861225670ae9.zip seabios-hppa-51d6ba3e6fac2e78679145fe34f3861225670ae9.tar.gz seabios-hppa-51d6ba3e6fac2e78679145fe34f3861225670ae9.tar.bz2 |
remove iasl-generated hex files from git repo
Almost every linux distro has iasl packaged these days.
Lets make it a build dependency and stop the hassle we
have with updating the *.hex files in the git repo.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -81,10 +81,10 @@ vpath %.S src vgasrc ################ Common build rules -# Verify the gcc configuration and test if -fwhole-program works. -TESTGCC:=$(shell CC="$(CC)" LD="$(LD)" tools/test-gcc.sh) +# Verify the build environment works. +TESTGCC:=$(shell CC="$(CC)" LD="$(LD)" IASL="$(IASL)" tools/test-build.sh) ifeq "$(TESTGCC)" "-1" -$(error "Please upgrade GCC and/or binutils") +$(error "Please upgrade the build environment") endif ifndef COMPSTRAT @@ -220,15 +220,15 @@ $(OUT)vgabios.bin: $(OUT)vgabios.bin.raw tools/buildrom.py ################ DSDT build rules -src/%.hex: src/%.dsl ./tools/acpi_extract_preprocess.py ./tools/acpi_extract.py - @echo "Compiling DSDT" +$(OUT)%.hex: src/%.dsl ./tools/acpi_extract_preprocess.py ./tools/acpi_extract.py + @echo " Compiling IASL $@" $(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) -vs -l -tc -p $(OUT)$* $(OUT)$*.dsl.i $(Q)$(PYTHON) ./tools/acpi_extract.py $(OUT)$*.lst > $(OUT)$*.off $(Q)cat $(OUT)$*.off > $@ -$(OUT)ccode32flat.o: src/acpi-dsdt.hex src/ssdt-proc.hex src/ssdt-pcihp.hex +$(OUT)ccode32flat.o: $(OUT)acpi-dsdt.hex $(OUT)ssdt-proc.hex $(OUT)ssdt-pcihp.hex ################ Kconfig rules |