From ca6312010da56b1e01e1b53f5f4305e96b4e11f5 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 10 Nov 2006 13:30:28 +0000 Subject: * fix the automatic build system by compressing payloads if possible and leaving enough room for a real payload (not /dev/null) This is a wonderful example why "uses" sucks. * add Config-abuild.lb for those boards that dont build with the default settings and a real payload: arima/hdama, amd/quartet, amd/serengeti_cheetah, ibm/e326 * if lzma is installed and a real payload is used, try compressing it. * fix a small bug in "abuild --help" This patch is acked by me because its due to infrastructural changes only. Flames welcome. Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2496 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- targets/amd/quartet/Config-abuild.lb | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 targets/amd/quartet/Config-abuild.lb (limited to 'targets/amd/quartet') diff --git a/targets/amd/quartet/Config-abuild.lb b/targets/amd/quartet/Config-abuild.lb new file mode 100644 index 0000000000..0034d9bb6b --- /dev/null +++ b/targets/amd/quartet/Config-abuild.lb @@ -0,0 +1,28 @@ +# 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=512*1024 + + +romimage "normal" + option USE_FALLBACK_IMAGE=0 + option ROM_IMAGE_SIZE=0x20000 + option LINUXBIOS_EXTRA_VERSION=".0-normal" + payload PAYLOAD +end + +romimage "fallback" + option USE_FALLBACK_IMAGE=1 + option ROM_IMAGE_SIZE=0x20000 + option LINUXBIOS_EXTRA_VERSION=".0-fallback" + payload PAYLOAD +end +buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback" -- cgit v1.2.3