2008-10-29 05:52:57 +01:00
|
|
|
# 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__
|
2009-04-21 22:31:18 +02:00
|
|
|
__LOGLEVEL__
|
2008-10-29 05:52:57 +01:00
|
|
|
|
2009-04-26 00:15:29 +02:00
|
|
|
option ROM_SIZE=1024*1024
|
2008-10-29 05:52:57 +01:00
|
|
|
option FALLBACK_SIZE=1024*512
|
|
|
|
|
2009-04-26 00:15:29 +02:00
|
|
|
# add optionroms with:
|
|
|
|
# coreboot-builds/kontron_986lcd-m/cbfstool coreboot-builds/kontron_986lcd-m/coreboot.rom add $pathto/pci8086,27a2.rom pci8086,27a2.rom 0x30
|
|
|
|
|
2008-10-29 05:52:57 +01:00
|
|
|
romimage "normal"
|
|
|
|
option USE_FALLBACK_IMAGE=0
|
2009-04-26 00:15:29 +02:00
|
|
|
option ROM_IMAGE_SIZE=0x1a000
|
2008-10-29 05:52:57 +01:00
|
|
|
option COREBOOT_EXTRA_VERSION=".0-normal"
|
|
|
|
payload __PAYLOAD__
|
|
|
|
end
|
|
|
|
|
|
|
|
romimage "fallback"
|
|
|
|
option USE_FALLBACK_IMAGE=1
|
2009-04-26 00:15:29 +02:00
|
|
|
option ROM_IMAGE_SIZE=0x1a000
|
2008-10-29 05:52:57 +01:00
|
|
|
option COREBOOT_EXTRA_VERSION=".0-fallback"
|
|
|
|
payload __PAYLOAD__
|
|
|
|
end
|
|
|
|
|
|
|
|
buildrom ./coreboot.rom ROM_SIZE "normal" "fallback"
|
|
|
|
|