[oe-commits] org.oe.dev foonas: Update foonas so it builds with n2100

nail commit openembedded-commits at lists.openembedded.org
Tue Mar 13 23:57:58 UTC 2007


foonas: Update foonas so it builds with n2100

Author: nail at nslu2-linux.org
Branch: org.openembedded.dev
Revision: b6be5d7ac8212b0932015fcd10fc1efb91288673
ViewMTN: http://monotone.openembedded.org/revision.psp?id=b6be5d7ac8212b0932015fcd10fc1efb91288673
Files:
1
conf/distro/foonas.conf
Diffs:

#
# mt diff -rd981800fd1cd4c52e2ee84030498966cd786e4b7 -rb6be5d7ac8212b0932015fcd10fc1efb91288673
#
# 
# 
# patch "conf/distro/foonas.conf"
#  from [80fb3bfe239811a7a77f65853dc13e3c114a3495]
#    to [2978bbbd680d43e2b1b336256918cd329791ba7d]
# 
============================================================
--- conf/distro/foonas.conf	80fb3bfe239811a7a77f65853dc13e3c114a3495
+++ conf/distro/foonas.conf	2978bbbd680d43e2b1b336256918cd329791ba7d
@@ -27,6 +27,33 @@ IMAGE_FSTYPES = "jffs2"
 #
 # binutils and compilers
 #
+
+PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "glibc-intermediate"
+PREFERRED_PROVIDER_virtual/arm-foonas-linux-gnueabi-libc-for-gcc = "glibc-intermediate"
+#PREFERRED_PROVIDER_virtual/armeb-foonas-linux-gnueabi-libc-for-gcc = "glibc-intermediate"
+PREFERRED_PROVIDER_virtual/arm-linux-libc-for-gcc = "glibc-intermediate"
+#PREFERRED_PROVIDER_virtual/armeb-linux-libc-for-gcc = "glibc-intermediate"
+PREFERRED_PROVIDER_virtual/powerpc-foonas-linux-libc-for-gcc = "glibc-intermediate"
+#PREFERRED_PROVIDER_virtual/mipsel-foonas-linux-libc-for-gcc = "glibc-intermediate"
+#PREFERRED_PROVIDER_virtual/sparc-foonas-linux-libc-for-gcc = "glibc-intermediate"
+
+TARGET_OS = "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb']]}"
+
+#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
+# perl has some problems, see http://bugs.openembedded.org/show_bug.cgi?id=1616
+# [23:00] oxo: glibc (any version) on sparc does not like (repeat me) "-Os"
+
+FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os"
+FULL_OPTIMIZATION_pn-perl = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O1"
+FULL_OPTIMIZATION_sparc = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2"
+
+BUILD_OPTIMIZATION = "-Os"
+BUILD_OPTIMIZATION_pn-perl = "-O1"
+BUILD_OPTIMIZATION_sparc = "-O2"
+
+CXXFLAGS += "-fvisibility-inlines-hidden"
+
 PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
 PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}gcc:gcc-cross"
 PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}g++:gcc-cross"
@@ -43,19 +70,24 @@ PREFERRED_PROVIDER_virtual/db-native = "
 PREFERRED_PROVIDER_virtual/db = "db"
 PREFERRED_PROVIDER_virtual/db-native = "db-native"
 
-PREFERRED_VERSION_binutils = "2.16"
-PREFERRED_VERSION_binutils-cross = "2.16"
+PREFERRED_VERSION_binutils = "2.17.50.0.12"
+PREFERRED_VERSION_binutils-cross = "2.17.50.0.12"
 
 PREFERRED_VERSION_gcc = "4.1.1"
 PREFERRED_VERSION_gcc-cross = "4.1.1"
+PREFERRED_VERSION_gcc-cross-sdk ?= "4.1.1"
 PREFERRED_VERSION_gcc-cross-initial = "4.1.1"
 
 PREFERRED_VERSION_glibc = "2.5"
 PREFERRED_VERSION_glibc-intermediate = "2.5"
-PREFERRED_VERSION_glibc-initial = "2.3.2"
-GLIBC_ADDONS = "nptl"
+PREFERRED_VERSION_glibc-initial = "2.5"
 GLIBC_EXTRA_OECONF = "--with-tls"
 
+PREFERRED_VERSION_glib-2.0 = "2.12.10"
+PREFERRED_VERSION_linux-libc-headers ?= "2.6.18"
+GLIBC_ADDONS ?= "ports,nptl,libidn"
+
+
 # 
 # Target OS
 #






More information about the Openembedded-commits mailing list