angstrom-uclibc.inc: Disable USE_NLS for gcc-cross
authorKhem Raj <raj.khem@gmail.com>
Wed, 10 Dec 2008 20:13:33 +0000 (12:13 -0800)
committerKhem Raj <raj.khem@gmail.com>
Wed, 10 Dec 2008 20:13:33 +0000 (12:13 -0800)
angstrom-uclinux-uclibc.inc: Ditto
slugos.inc: Ditto
minimal-uclibc.conf: Ditto

* uclibc based system gettext gets pulled in to provide libintl and
when gcc-cross is rebuilt then it ends up noticing that it can use
the NLS support and the patches for uclibc locale support in gcc does not
go so well with this. We disable NLS for uclibc based angstroms.

conf/distro/include/angstrom-uclibc.inc
conf/distro/include/angstrom-uclinux-uclibc.inc
conf/distro/include/slugos.inc
conf/distro/minimal-uclibc.conf

index 71b8862..1f0b41f 100644 (file)
@@ -14,6 +14,7 @@ PREFERRED_PROVIDER_linux-libc-headers = "linux-libc-headers"
 USE_NLS ?= "no"
 USE_NLS_glib-2.0 = "yes"
 USE_NLS_glib-2.0-native = "yes"
+USE_NLS_gcc-cross = "no"
 
 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']]}"
index e0d4518..68ad145 100644 (file)
@@ -7,6 +7,7 @@ PREFERRED_PROVIDER_virtual/libintl ?= "gettext"
 USE_NLS ?= "no"
 USE_NLS_glib-2.0 = "yes"
 USE_NLS_glib-2.0-native = "yes"
+USE_NLS_gcc-cross = "no"
 
 TARGET_OS_UC = "uclinux${@['-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']]}"
 
index 78e9917..17a3d8d 100644 (file)
@@ -62,6 +62,7 @@ TARGET_FPU = "soft"
 # glib-2.0 builds require USE_NLS to be overridden
 USE_NLS_glib-2.0 = "yes"
 USE_NLS_glib-2.0-native = "yes"
+USEE_NLS_gcc-cross = "no"
 
 INHERIT += "package_ipk debian testlab packaged-staging"
 
index a64cbf2..62eb86a 100644 (file)
@@ -31,6 +31,7 @@ PREFERRED_PROVIDER_virtual/libintl = "proxy-libintl"
 USE_NLS ?= "no"
 USE_NLS_glib-2.0 = "yes"
 USE_NLS_glib-2.0-native = "yes"
+USE_NLS_gcc-cross = "no"
 
 PREFERRED_VERSION_uclibc = "0.9.30"
 PREFERRED_VERSION_uclibc-initial = "0.9.30"