Uwe Hermann | d9ab798 | 2007-09-21 23:13:28 +0000 | [diff] [blame] | 1 | ## |
Stefan Reinauer | 7e61e45 | 2008-01-18 10:35:56 +0000 | [diff] [blame] | 2 | ## This file is part of the coreboot project. |
Uwe Hermann | d9ab798 | 2007-09-21 23:13:28 +0000 | [diff] [blame] | 3 | ## |
| 4 | ## Copyright (C) 2007 Uwe Hermann <uwe@hermann-uwe.de> |
| 5 | ## |
| 6 | ## This program is free software; you can redistribute it and/or modify |
| 7 | ## it under the terms of the GNU General Public License as published by |
| 8 | ## the Free Software Foundation; either version 2 of the License, or |
| 9 | ## (at your option) any later version. |
| 10 | ## |
| 11 | ## This program is distributed in the hope that it will be useful, |
| 12 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | ## GNU General Public License for more details. |
| 15 | ## |
| 16 | ## You should have received a copy of the GNU General Public License |
| 17 | ## along with this program; if not, write to the Free Software |
| 18 | ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 19 | ## |
| 20 | |
Stefan Reinauer | be7f798 | 2009-03-13 15:42:27 +0000 | [diff] [blame] | 21 | target VENDOR_MAINBOARD |
| 22 | mainboard VENDOR/MAINBOARD |
| 23 | |
| 24 | option CC="CROSSCC" |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 25 | option CONFIG_CROSS_COMPILE="CROSS_PREFIX" |
Stefan Reinauer | 9dd27bc | 2009-06-30 17:13:58 +0000 | [diff] [blame] | 26 | option HOSTCC="CROSS_HOSTCC" |
Uwe Hermann | d9ab798 | 2007-09-21 23:13:28 +0000 | [diff] [blame] | 27 | |
| 28 | __COMPRESSION__ |
Patrick Georgi | 2d3e712 | 2009-04-21 20:31:18 +0000 | [diff] [blame] | 29 | __LOGLEVEL__ |
Uwe Hermann | d9ab798 | 2007-09-21 23:13:28 +0000 | [diff] [blame] | 30 | |
| 31 | romimage "normal" |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 32 | option CONFIG_USE_FAILOVER_IMAGE = 0 |
| 33 | option CONFIG_USE_FALLBACK_IMAGE = 0 |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 34 | option COREBOOT_EXTRA_VERSION = ".0Normal" |
Uwe Hermann | d9ab798 | 2007-09-21 23:13:28 +0000 | [diff] [blame] | 35 | payload __PAYLOAD__ |
| 36 | end |
| 37 | |
| 38 | romimage "fallback" |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 39 | option CONFIG_USE_FAILOVER_IMAGE = 0 |
| 40 | option CONFIG_USE_FALLBACK_IMAGE = 1 |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 41 | option COREBOOT_EXTRA_VERSION = ".0Fallback" |
Uwe Hermann | d9ab798 | 2007-09-21 23:13:28 +0000 | [diff] [blame] | 42 | payload __PAYLOAD__ |
| 43 | end |
| 44 | |
| 45 | romimage "failover" |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 46 | option CONFIG_USE_FAILOVER_IMAGE = 1 |
| 47 | option CONFIG_USE_FALLBACK_IMAGE = 0 |
| 48 | option CONFIG_ROM_IMAGE_SIZE = CONFIG_FAILOVER_SIZE |
| 49 | option CONFIG_XIP_ROM_SIZE = CONFIG_FAILOVER_SIZE |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 50 | option COREBOOT_EXTRA_VERSION = ".0Failover" |
Uwe Hermann | d9ab798 | 2007-09-21 23:13:28 +0000 | [diff] [blame] | 51 | end |
| 52 | |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 53 | # buildrom ./coreboot.rom CONFIG_ROM_SIZE "normal" "fallback" |
| 54 | buildrom ./coreboot.rom CONFIG_ROM_SIZE "normal" "fallback" "failover" |