angstrom: add support for htcwallaby and htctornado
authorKoen Kooi <koen@openembedded.org>
Tue, 3 Jul 2007 08:55:16 +0000 (08:55 +0000)
committerKoen Kooi <koen@openembedded.org>
Tue, 3 Jul 2007 08:55:16 +0000 (08:55 +0000)
conf/distro/angstrom-2007.1.conf
conf/distro/include/angstrom-glibc.inc
conf/distro/include/angstrom-uclibc.inc

index 3978315..5f7e789 100644 (file)
@@ -13,7 +13,7 @@ DISTRO_REVISION = "46"
 require conf/distro/include/sane-srcdates.inc
 
 #This is needed to get a correct PACKAGE_ARCH for packages that have PACKAGE_ARCH = ${MACHINE_ARCH}
-ARM_ABI = "${@['','oabi'][bb.data.getVar('MACHINE',d) in ['collie','h3600', 'h3800', 'simpad']]}"
+ARM_ABI ?= "${@['','oabi'][bb.data.getVar('MACHINE',d) in ['collie','h3600', 'h3800', 'simpad', 'htcwallaby']]}"
 require conf/distro/include/angstrom${ARM_ABI}.inc
 
 #Images built can have to modes:
@@ -54,6 +54,7 @@ FEED_ARCH_h2200               = "armv5te"
 FEED_ARCH_h3900                = "armv5te"
 FEED_ARCH_h4000                = "armv5te"
 FEED_ARCH_h5000                = "armv5te"
+FEED_ARCH_htctornado    = "armv5te"
 FEED_ARCH_htcuniversal         = "armv5te"
 FEED_ARCH_hx2000       = "armv5te"
 FEED_ARCH_hx4700       = "armv5te"
@@ -88,6 +89,7 @@ FEED_ARCH_collie        = "arm-oabi"
 FEED_ARCH_h3600         = "arm-oabi"
 FEED_ARCH_h3800         = "arm-oabi"
 FEED_ARCH_simpad        = "arm-oabi"
+FEED_ARCH_htcwallaby    = "arm-oabi"
 
 #Tweak packaging for strongarm machines since they can't use EABI
 
index fdc814c..957042d 100644 (file)
@@ -3,7 +3,7 @@ PREFERRED_PROVIDER_virtual/libiconv ?= "glibc"
 PREFERRED_PROVIDER_virtual/libintl ?= "glibc"
 PREFERRED_PROVIDER_virtual/libc ?= "glibc"
 
-TARGET_OS = "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb'] and bb.data.getVar('MACHINE',d) not in ['collie','h3600', 'h3800', 'simpad']]}"
+TARGET_OS = "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb'] and bb.data.getVar('MACHINE',d) not in ['collie','h3600', 'h3800', 'simpad', 'htcwallaby']]}"
 
 #mess with compiler flags to use -Os instead of -O2
 #Please see http://free-electrons.com/doc/embedded_linux_optimizations/img47.html for some more info
index 0f20e9c..59d4095 100644 (file)
@@ -7,7 +7,7 @@ PREFERRED_PROVIDER_virtual/libintl ?= "gettext"
 USE_NLS ?= "no"
 USE_NLS_glib-2.0 = "yes"
 
-TARGET_OS_UC = "linux${@['-uclibc','-uclibcgnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb'] and bb.data.getVar('MACHINE',d) not in ['collie','h3600', 'h3800', 'simpad']]}"
+TARGET_OS_UC = "linux${@['-uclibc','-uclibcgnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb'] and bb.data.getVar('MACHINE',d) not in ['collie','h3600', 'h3800', 'simpad', 'htcwallaby']]}"
 TARGET_OS = "${@['${TARGET_OS_UC}', 'uclinux-uclibc'][bb.data.getVar('TARGET_ARCH',d)  in ['bfin']]}"
 
 #mess with compiler flags to use -Os instead of -O2