[oe-commits] Khem Raj : angstrom-uclibc.inc: Disable USE_NLS for gcc-cross

GIT User account git at amethyst.openembedded.net
Wed Dec 10 20:17:35 UTC 2008


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 181447ab2aff8308e7041d1553c16bcfbf796f41
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=181447ab2aff8308e7041d1553c16bcfbf796f41

Author: Khem Raj <raj.khem at gmail.com>
Date:   Wed Dec 10 12:13:33 2008 -0800

angstrom-uclibc.inc: Disable USE_NLS for gcc-cross
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         |    1 +
 conf/distro/include/angstrom-uclinux-uclibc.inc |    1 +
 conf/distro/include/slugos.inc                  |    1 +
 conf/distro/minimal-uclibc.conf                 |    1 +
 4 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/conf/distro/include/angstrom-uclibc.inc b/conf/distro/include/angstrom-uclibc.inc
index 71b8862..1f0b41f 100644
--- a/conf/distro/include/angstrom-uclibc.inc
+++ b/conf/distro/include/angstrom-uclibc.inc
@@ -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']]}"
diff --git a/conf/distro/include/angstrom-uclinux-uclibc.inc b/conf/distro/include/angstrom-uclinux-uclibc.inc
index e0d4518..68ad145 100644
--- a/conf/distro/include/angstrom-uclinux-uclibc.inc
+++ b/conf/distro/include/angstrom-uclinux-uclibc.inc
@@ -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']]}"
 
diff --git a/conf/distro/include/slugos.inc b/conf/distro/include/slugos.inc
index 78e9917..17a3d8d 100644
--- a/conf/distro/include/slugos.inc
+++ b/conf/distro/include/slugos.inc
@@ -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"
 
diff --git a/conf/distro/minimal-uclibc.conf b/conf/distro/minimal-uclibc.conf
index a64cbf2..62eb86a 100644
--- a/conf/distro/minimal-uclibc.conf
+++ b/conf/distro/minimal-uclibc.conf
@@ -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"





More information about the Openembedded-commits mailing list