angstrom: blackfin updates
authorKoen Kooi <koen@openembedded.org>
Tue, 12 Jun 2007 07:58:44 +0000 (07:58 +0000)
committerKoen Kooi <koen@openembedded.org>
Tue, 12 Jun 2007 07:58:44 +0000 (07:58 +0000)
conf/distro/angstrom-2007.1.conf
conf/distro/include/angstrom-uclibc.inc

index 059a1ad..66cb1df 100644 (file)
@@ -191,13 +191,16 @@ PREFERRED_VERSION_binutils-cross-sdk_avr32 = "2.17"
 
 #This is unrelated to the kernel version, but userspace apps (e.g. HAL) require a recent version to build against
 PREFERRED_VERSION_linux-libc-headers ?= "2.6.20"
+PREFERRED_VERSION_linux-libc-headers_bfin = "2.6.21"
 
 #Prefer glibc 2.5 and uclibc 0.9.29, these have had the most testing.
 PREFERRED_VERSION_glibc ?= "2.5"
 PREFERRED_VERSION_uclibc ?= "0.9.29"
+PREFERRED_VERSION_uclibc-initial ?= "0.9.29"
 
 #there's is no avr32 patch for 0.9.29
 PREFERRED_VERSION_uclibc_avr32 = "0.9.28"
+PREFERRED_VERSION_uclibc-initial_avr32 = "0.9.28"
 
 PREFERRED_VERSION_glibc-intermediate_i686 ?= "2.4"
 PREFERRED_VERSION_glibc-intermediate ?= "2.5"
index c4678e6..0f20e9c 100644 (file)
@@ -7,7 +7,8 @@ PREFERRED_PROVIDER_virtual/libintl ?= "gettext"
 USE_NLS ?= "no"
 USE_NLS_glib-2.0 = "yes"
 
-TARGET_OS = "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']]}"
+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
 #Please see http://free-electrons.com/doc/embedded_linux_optimizations/img47.html for some more info