Stefan Reinauer | 76c6c95 | 2008-11-20 20:07:38 +0000 | [diff] [blame] | 1 | # This will make a target directory of ./VENDOR_MAINBOARD |
| 2 | |
| 3 | target VENDOR_MAINBOARD |
| 4 | mainboard VENDOR/MAINBOARD |
| 5 | |
| 6 | option CC="CROSSCC" |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 7 | option CONFIG_CROSS_COMPILE="CROSS_PREFIX" |
Stefan Reinauer | 9dd27bc | 2009-06-30 17:13:58 +0000 | [diff] [blame] | 8 | option HOSTCC="CROSS_HOSTCC" |
Stefan Reinauer | 76c6c95 | 2008-11-20 20:07:38 +0000 | [diff] [blame] | 9 | |
| 10 | __COMPRESSION__ |
Patrick Georgi | 2d3e712 | 2009-04-21 20:31:18 +0000 | [diff] [blame] | 11 | __LOGLEVEL__ |
Stefan Reinauer | 76c6c95 | 2008-11-20 20:07:38 +0000 | [diff] [blame] | 12 | |
| 13 | romimage "normal" |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 14 | option CONFIG_USE_FAILOVER_IMAGE=0 |
| 15 | option CONFIG_USE_FALLBACK_IMAGE=0 |
Stefan Reinauer | 76c6c95 | 2008-11-20 20:07:38 +0000 | [diff] [blame] | 16 | option COREBOOT_EXTRA_VERSION=".0-normal" |
| 17 | payload __PAYLOAD__ |
| 18 | end |
| 19 | |
| 20 | romimage "fallback" |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 21 | option CONFIG_USE_FAILOVER_IMAGE=0 |
| 22 | option CONFIG_USE_FALLBACK_IMAGE=1 |
Stefan Reinauer | 76c6c95 | 2008-11-20 20:07:38 +0000 | [diff] [blame] | 23 | option COREBOOT_EXTRA_VERSION=".0-fallback" |
| 24 | payload __PAYLOAD__ |
| 25 | end |
| 26 | |
| 27 | romimage "failover" |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 28 | option CONFIG_USE_FAILOVER_IMAGE=1 |
| 29 | option CONFIG_USE_FALLBACK_IMAGE=0 |
| 30 | option CONFIG_ROM_IMAGE_SIZE=CONFIG_FAILOVER_SIZE |
| 31 | option CONFIG_XIP_ROM_SIZE=CONFIG_FAILOVER_SIZE |
Stefan Reinauer | 76c6c95 | 2008-11-20 20:07:38 +0000 | [diff] [blame] | 32 | end |
| 33 | |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 34 | buildrom ./coreboot.rom CONFIG_ROM_SIZE "normal" "fallback" "failover" |