diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2009-03-13 15:42:27 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2009-03-13 15:42:27 +0000 |
commit | be7f79867e4d989fc9cb7fb9e8b0b8ec55956875 (patch) | |
tree | f5ae688b318dfb7456351bb33a5a30f28bb9dedc /targets | |
parent | cc46e73a0221d08a30c78adfc568f162cdda407d (diff) |
This, ladies and gentlement, is commit #4000.
Use the (almost) same strict CFLAGS in v2 that we use on v3. And fix a few
include files and missing prototypes. Also, fix up the Config-abuild.lb files
to properly work for cross compiling.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4000 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'targets')
-rw-r--r-- | targets/digitallogic/msm586seg/Config-abuild.lb | 20 | ||||
-rw-r--r-- | targets/gigabyte/ga_2761gxdk/Config-abuild.lb | 9 | ||||
-rw-r--r-- | targets/iei/juki-511p/Config-abuild.lb | 8 | ||||
-rw-r--r-- | targets/msi/ms7260/Config-abuild.lb | 8 | ||||
-rw-r--r-- | targets/rca/rm4100/Config-abuild.lb | 10 | ||||
-rw-r--r-- | targets/technologic/ts5300/Config-abuild.lb | 15 | ||||
-rw-r--r-- | targets/thomson/ip1000/Config-abuild.lb | 10 | ||||
-rw-r--r-- | targets/via/epia-m/Config-abuild.lb | 28 |
8 files changed, 51 insertions, 57 deletions
diff --git a/targets/digitallogic/msm586seg/Config-abuild.lb b/targets/digitallogic/msm586seg/Config-abuild.lb index 285adc04b6..46bad03362 100644 --- a/targets/digitallogic/msm586seg/Config-abuild.lb +++ b/targets/digitallogic/msm586seg/Config-abuild.lb @@ -1,24 +1,16 @@ -target digitallogic_msm586seg -mainboard digitallogic/msm586seg +target VENDOR_MAINBOARD +mainboard VENDOR/MAINBOARD - - -option DEFAULT_CONSOLE_LOGLEVEL=9 -option MAXIMUM_CONSOLE_LOGLEVEL=9 -option CONFIG_COMPRESS=0 +option CC="CROSSCC" +option CROSS_COMPILE="CROSS_PREFIX" +option HOSTCC="CROSS_HOSTCC" __COMPRESSION__ -option CONFIG_CONSOLE_VGA=1 - romimage "fallback" option FALLBACK_SIZE = 256 * 1024 -# option ROM_SIZE=512*1024 -# option ROM_SECTION_SIZE=512*1024 option USE_FALLBACK_IMAGE=1 -# option ROM_IMAGE_SIZE=32 * 1024 # 0x8000 - option ROM_IMAGE_SIZE=128 * 1024 # 0x10000 -# option ROM_IMAGE_SIZE=512 * 1024 # 0x10000 + option ROM_IMAGE_SIZE= 128 * 1024 option COREBOOT_EXTRA_VERSION=".0Fallback" payload __PAYLOAD__ end diff --git a/targets/gigabyte/ga_2761gxdk/Config-abuild.lb b/targets/gigabyte/ga_2761gxdk/Config-abuild.lb index 463503be69..0c102bd5b4 100644 --- a/targets/gigabyte/ga_2761gxdk/Config-abuild.lb +++ b/targets/gigabyte/ga_2761gxdk/Config-abuild.lb @@ -18,8 +18,13 @@ ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ## -target gigabyte_ga_2761gxdk -mainboard gigabyte/ga_2761gxdk + +target VENDOR_MAINBOARD +mainboard VENDOR/MAINBOARD + +option CC="CROSSCC" +option CROSS_COMPILE="CROSS_PREFIX" +option HOSTCC="CROSS_HOSTCC" __COMPRESSION__ diff --git a/targets/iei/juki-511p/Config-abuild.lb b/targets/iei/juki-511p/Config-abuild.lb index c7602b3b2a..0350f1f4aa 100644 --- a/targets/iei/juki-511p/Config-abuild.lb +++ b/targets/iei/juki-511p/Config-abuild.lb @@ -1,7 +1,9 @@ -# abuild config file for JUKI-511P +target VENDOR_MAINBOARD +mainboard VENDOR/MAINBOARD -target iei_juki-511p -mainboard iei/juki-511p +option CC="CROSSCC" +option CROSS_COMPILE="CROSS_PREFIX" +option HOSTCC="CROSS_HOSTCC" __COMPRESSION__ diff --git a/targets/msi/ms7260/Config-abuild.lb b/targets/msi/ms7260/Config-abuild.lb index c0f6f142a4..552e01ef9d 100644 --- a/targets/msi/ms7260/Config-abuild.lb +++ b/targets/msi/ms7260/Config-abuild.lb @@ -18,8 +18,12 @@ ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ## -target msi_ms7260 -mainboard msi/ms7260 +target VENDOR_MAINBOARD +mainboard VENDOR/MAINBOARD + +option CC="CROSSCC" +option CROSS_COMPILE="CROSS_PREFIX" +option HOSTCC="CROSS_HOSTCC" __COMPRESSION__ diff --git a/targets/rca/rm4100/Config-abuild.lb b/targets/rca/rm4100/Config-abuild.lb index b4f22e5a27..41df077180 100644 --- a/targets/rca/rm4100/Config-abuild.lb +++ b/targets/rca/rm4100/Config-abuild.lb @@ -18,8 +18,14 @@ ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ## -target rca_rm4100 -mainboard rca/rm4100 +target VENDOR_MAINBOARD +mainboard VENDOR/MAINBOARD + +option CC="CROSSCC" +option CROSS_COMPILE="CROSS_PREFIX" +option HOSTCC="CROSS_HOSTCC" + +__COMPRESSION__ romimage "fallback" option USE_FALLBACK_IMAGE = 1 diff --git a/targets/technologic/ts5300/Config-abuild.lb b/targets/technologic/ts5300/Config-abuild.lb index 7b0f8fc841..22c86b1142 100644 --- a/targets/technologic/ts5300/Config-abuild.lb +++ b/targets/technologic/ts5300/Config-abuild.lb @@ -1,20 +1,17 @@ -target technologic_ts5300 -mainboard technologic/ts5300 +target VENDOR_MAINBOARD +mainboard VENDOR/MAINBOARD -option DEFAULT_CONSOLE_LOGLEVEL=9 -option MAXIMUM_CONSOLE_LOGLEVEL=9 -option CONFIG_COMPRESS=0 +option CC="CROSSCC" +option CROSS_COMPILE="CROSS_PREFIX" +option HOSTCC="CROSS_HOSTCC" __COMPRESSION__ romimage "fallback" option FALLBACK_SIZE = 256 * 1024 -# option ROM_SIZE=512*1024 -# option ROM_SECTION_SIZE=512*1024 option USE_FALLBACK_IMAGE=1 -# option ROM_IMAGE_SIZE=32 * 1024 # 0x8000 option ROM_IMAGE_SIZE=128 * 1024 # 0x10000 - option COREBOOT_EXTRA_VERSION=".0Fallback" + option COREBOOT_EXTRA_VERSION=".0-Fallback" payload __PAYLOAD__ end diff --git a/targets/thomson/ip1000/Config-abuild.lb b/targets/thomson/ip1000/Config-abuild.lb index 8f9ffb80d0..501bc2c0a6 100644 --- a/targets/thomson/ip1000/Config-abuild.lb +++ b/targets/thomson/ip1000/Config-abuild.lb @@ -18,8 +18,14 @@ ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ## -target thomson_ip1000 -mainboard thomson/ip1000 +target VENDOR_MAINBOARD +mainboard VENDOR/MAINBOARD + +option CC="CROSSCC" +option CROSS_COMPILE="CROSS_PREFIX" +option HOSTCC="CROSS_HOSTCC" + +__COMPRESSION__ romimage "fallback" option USE_FALLBACK_IMAGE = 1 diff --git a/targets/via/epia-m/Config-abuild.lb b/targets/via/epia-m/Config-abuild.lb index 7df740905c..dd3336782b 100644 --- a/targets/via/epia-m/Config-abuild.lb +++ b/targets/via/epia-m/Config-abuild.lb @@ -1,32 +1,14 @@ -# abuild config file for EPIA-M +target VENDOR_MAINBOARD +mainboard VENDOR/MAINBOARD -target via_epia-m -mainboard via/epia-m - -option MAXIMUM_CONSOLE_LOGLEVEL=8 -option DEFAULT_CONSOLE_LOGLEVEL=8 -option CONFIG_CONSOLE_SERIAL8250=1 +option CC="CROSSCC" +option CROSS_COMPILE="CROSS_PREFIX" +option HOSTCC="CROSS_HOSTCC" __COMPRESSION__ option ROM_SIZE=256*1024 -option HAVE_OPTION_TABLE=1 -option CONFIG_ROM_PAYLOAD=1 -option HAVE_FALLBACK_BOOT=1 - -### -### Compute the location and size of where this firmware image -### (coreboot plus bootloader) will live in the boot rom chip. -### -option FALLBACK_SIZE=131072 - -## Coreboot C code runs at this location in RAM -option _RAMBASE=0x00004000 - -# -# Via EPIA M -# romimage "normal" option USE_FALLBACK_IMAGE=0 option ROM_IMAGE_SIZE=64*1024 |