More abuild fixes, the previous ones weren't enough. Hopefully this covers everything.

Signed-off-by: Corey Osgood <corey.osgood@gmail.com>
Acked-by: Corey Osgood <corey.osgood@gmail.com>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2985 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Corey Osgood 2007-11-25 03:49:43 +00:00
parent c29533a37d
commit d1bfaa92e8
2 changed files with 7 additions and 8 deletions

View File

@ -100,21 +100,21 @@ if HAVE_ACPI_TABLES
if ACPI_SSDTX_NUM if ACPI_SSDTX_NUM
makerule ssdt2.c makerule ssdt2.c
depends "$(MAINBOARD)/dx/pci2.asl" depends "$(MAINBOARD)/dx/pci2.asl"
action "iasl -tc $(MAINBOARD)/dx/pci2.asl" action "iasl -p $(PWD)/pci2 -tc $(MAINBOARD)/dx/pci2.asl"
action "perl -pi -e 's/AmlCode/AmlCode_ssdt2/g' pci2.hex" action "perl -pi -e 's/AmlCode/AmlCode_ssdt2/g' pci2.hex"
action "mv pci2.hex ssdt2.c" action "mv pci2.hex ssdt2.c"
end end
object ./ssdt2.o object ./ssdt2.o
makerule ssdt3.c makerule ssdt3.c
depends "$(MAINBOARD)/dx/pci3.asl" depends "$(MAINBOARD)/dx/pci3.asl"
action "iasl -tc $(MAINBOARD)/dx/pci3.asl" action "iasl -p $(PWD)/pci3 -tc $(MAINBOARD)/dx/pci3.asl"
action "perl -pi -e 's/AmlCode/AmlCode_ssdt3/g' pci3.hex" action "perl -pi -e 's/AmlCode/AmlCode_ssdt3/g' pci3.hex"
action "mv pci3.hex ssdt3.c" action "mv pci3.hex ssdt3.c"
end end
object ./ssdt3.o object ./ssdt3.o
makerule ssdt4.c makerule ssdt4.c
depends "$(MAINBOARD)/dx/pci4.asl" depends "$(MAINBOARD)/dx/pci4.asl"
action "iasl -tc $(MAINBOARD)/dx/pci4.asl" action "iasl -p $(PWD)/pci4 -tc $(MAINBOARD)/dx/pci4.asl"
action "perl -pi -e 's/AmlCode/AmlCode_ssdt4/g' pci4.hex" action "perl -pi -e 's/AmlCode/AmlCode_ssdt4/g' pci4.hex"
action "mv pci4.hex ssdt4.c" action "mv pci4.hex ssdt4.c"
end end
@ -139,7 +139,6 @@ if USE_DCACHE_RAM
action "perl -e 's/.rodata/.rom.data/g' -pi $@" action "perl -e 's/.rodata/.rom.data/g' -pi $@"
action "perl -e 's/.text/.section .rom.text/g' -pi $@" action "perl -e 's/.text/.section .rom.text/g' -pi $@"
end end
end end
end end

View File

@ -100,28 +100,28 @@ if HAVE_ACPI_TABLES
if ACPI_SSDTX_NUM if ACPI_SSDTX_NUM
makerule ssdt2.c makerule ssdt2.c
depends "$(MAINBOARD)/dx/pci2.asl" depends "$(MAINBOARD)/dx/pci2.asl"
action "iasl -tc $(MAINBOARD)/dx/pci2.asl" action "iasl -p $(PWD)/pci2 -tc $(MAINBOARD)/dx/pci2.asl"
action "perl -pi -e 's/AmlCode/AmlCode_ssdt2/g' pci2.hex" action "perl -pi -e 's/AmlCode/AmlCode_ssdt2/g' pci2.hex"
action "mv pci2.hex ssdt2.c" action "mv pci2.hex ssdt2.c"
end end
object ./ssdt2.o object ./ssdt2.o
makerule ssdt3.c makerule ssdt3.c
depends "$(MAINBOARD)/dx/pci3.asl" depends "$(MAINBOARD)/dx/pci3.asl"
action "iasl -tc $(MAINBOARD)/dx/pci3.asl" action "iasl -p $(PWD)/pci3 -tc $(MAINBOARD)/dx/pci3.asl"
action "perl -pi -e 's/AmlCode/AmlCode_ssdt3/g' pci3.hex" action "perl -pi -e 's/AmlCode/AmlCode_ssdt3/g' pci3.hex"
action "mv pci3.hex ssdt3.c" action "mv pci3.hex ssdt3.c"
end end
object ./ssdt3.o object ./ssdt3.o
makerule ssdt4.c makerule ssdt4.c
depends "$(MAINBOARD)/dx/pci4.asl" depends "$(MAINBOARD)/dx/pci4.asl"
action "iasl -tc $(MAINBOARD)/dx/pci4.asl" action "iasl -p $(PWD)/pci4 -tc $(MAINBOARD)/dx/pci4.asl"
action "perl -pi -e 's/AmlCode/AmlCode_ssdt4/g' pci4.hex" action "perl -pi -e 's/AmlCode/AmlCode_ssdt4/g' pci4.hex"
action "mv pci4.hex ssdt4.c" action "mv pci4.hex ssdt4.c"
end end
object ./ssdt4.o object ./ssdt4.o
makerule ssdt5.c makerule ssdt5.c
depends "$(MAINBOARD)/dx/pci5.asl" depends "$(MAINBOARD)/dx/pci5.asl"
action "iasl -tc $(MAINBOARD)/dx/pci5.asl" action "iasl -p $(PWD)/pci5 -tc $(MAINBOARD)/dx/pci5.asl"
action "perl -pi -e 's/AmlCode/AmlCode_ssdt5/g' pci5.hex" action "perl -pi -e 's/AmlCode/AmlCode_ssdt5/g' pci5.hex"
action "mv pci5.hex ssdt5.c" action "mv pci5.hex ssdt5.c"
end end