Author: cozzie
Date: 2007-12-19 20:30:36 +0100 (Wed, 19 Dec 2007)
New Revision: 3021
Added:
trunk/LinuxBIOSv2/targets/amd/serengeti_cheetah_fam10/Config-abuild.lb
Modified:
trunk/LinuxBIOSv2/src/northbridge/amd/amdfam10/Config.lb
Log:
More abuild fixes, this should be the last (trivial)
Signed-off-by: Corey Osgood <corey.osgood(a)gmail.com>
Acked-by: Corey Osgood <corey.osgood(a)gmail.com>
Modified: trunk/LinuxBIOSv2/src/northbridge/amd/amdfam10/Config.lb
===================================================================
--- trunk/LinuxBIOSv2/src/northbridge/amd/amdfam10/Config.lb 2007-12-19 18:29:59 UTC (rev 3020)
+++ trunk/LinuxBIOSv2/src/northbridge/amd/amdfam10/Config.lb 2007-12-19 19:30:36 UTC (rev 3021)
@@ -34,42 +34,42 @@
object amdfam10_acpi.o
makerule ssdt.c
depends "$(TOP)/src/northbridge/amd/amdfam10/ssdt.dsl"
- action "iasl -tc $(TOP)/src/northbridge/amd/amdfam10/ssdt.dsl"
+ action "iasl -p $(PWD)/ssdt -tc $(TOP)/src/northbridge/amd/amdfam10/ssdt.dsl"
action "perl -pi -e 's/AmlCode/AmlCode_ssdt/g' ssdt.hex"
action "mv ssdt.hex ssdt.c"
end
object ./ssdt.o
makerule sspr1.c
depends "$(TOP)/src/northbridge/amd/amdfam10/sspr1.dsl"
- action "iasl -tc $(TOP)/src/northbridge/amd/amdfam10/sspr1.dsl"
+ action "iasl -p $(PWD)/sspr1 -tc $(TOP)/src/northbridge/amd/amdfam10/sspr1.dsl"
action "perl -pi -e 's/AmlCode/AmlCode_sspr1/g' sspr1.hex"
action "mv sspr1.hex sspr1.c"
end
object ./sspr1.o
makerule sspr2.c
depends "$(TOP)/src/northbridge/amd/amdfam10/sspr2.dsl"
- action "iasl -tc $(TOP)/src/northbridge/amd/amdfam10/sspr2.dsl"
+ action "iasl -p $(PWD)/sspr2 -tc $(TOP)/src/northbridge/amd/amdfam10/sspr2.dsl"
action "perl -pi -e 's/AmlCode/AmlCode_sspr2/g' sspr2.hex"
action "mv sspr2.hex sspr2.c"
end
object ./sspr2.o
makerule sspr3.c
depends "$(TOP)/src/northbridge/amd/amdfam10/sspr3.dsl"
- action "iasl -tc $(TOP)/src/northbridge/amd/amdfam10/sspr3.dsl"
+ action "iasl -p $(PWD)/sspr3 -tc $(TOP)/src/northbridge/amd/amdfam10/sspr3.dsl"
action "perl -pi -e 's/AmlCode/AmlCode_sspr3/g' sspr3.hex"
action "mv sspr3.hex sspr3.c"
end
object ./sspr3.o
makerule sspr4.c
depends "$(TOP)/src/northbridge/amd/amdfam10/sspr4.dsl"
- action "iasl -tc $(TOP)/src/northbridge/amd/amdfam10/sspr4.dsl"
+ action "iasl -p $(PWD)/sspr4 -tc $(TOP)/src/northbridge/amd/amdfam10/sspr4.dsl"
action "perl -pi -e 's/AmlCode/AmlCode_sspr4/g' sspr4.hex"
action "mv sspr4.hex sspr4.c"
end
object ./sspr4.o
makerule sspr5.c
depends "$(TOP)/src/northbridge/amd/amdfam10/sspr5.dsl"
- action "iasl -tc $(TOP)/src/northbridge/amd/amdfam10/sspr5.dsl"
+ action "iasl -p $(PWD)/sspr5 -tc $(TOP)/src/northbridge/amd/amdfam10/sspr5.dsl"
action "perl -pi -e 's/AmlCode/AmlCode_sspr5/g' sspr5.hex"
action "mv sspr5.hex sspr5.c"
end
Added: trunk/LinuxBIOSv2/targets/amd/serengeti_cheetah_fam10/Config-abuild.lb
===================================================================
--- trunk/LinuxBIOSv2/targets/amd/serengeti_cheetah_fam10/Config-abuild.lb (rev 0)
+++ trunk/LinuxBIOSv2/targets/amd/serengeti_cheetah_fam10/Config-abuild.lb 2007-12-19 19:30:36 UTC (rev 3021)
@@ -0,0 +1,29 @@
+# This will make a target directory of ./VENDOR_MAINBOARD
+
+target VENDOR_MAINBOARD
+mainboard VENDOR/MAINBOARD
+
+option CC="CROSSCC"
+option CROSS_COMPILE="CROSS_PREFIX"
+option HOSTCC="CROSS_HOSTCC"
+
+__COMPRESSION__
+
+option ROM_SIZE=1024*1024
+
+romimage "fallback"
+ option USE_FALLBACK_IMAGE=1
+ option ROM_IMAGE_SIZE=0x20000
+ option LINUXBIOS_EXTRA_VERSION=".0-fallback"
+ payload __PAYLOAD__
+end
+
+romimage "failover"
+ option USE_FAILOVER_IMAGE=1
+ option USE_FALLBACK_IMAGE=0
+ option ROM_IMAGE_SIZE=FAILOVER_SIZE
+ option XIP_ROM_SIZE=FAILOVER_SIZE
+ option LINUXBIOS_EXTRA_VERSION=".0-failover"
+end
+
+buildrom ./linuxbios.rom ROM_SIZE "fallback" "failover"
\ No newline at end of file