summaryrefslogtreecommitdiff
path: root/meta/conf/distro/include
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-11-30 19:07:07 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-12-01 12:52:49 +0000
commit6e2b53f47da0e97271fb51b281d24da1e1d549cc (patch)
treef2db975fe2c1a6d9f97753b0de2e822f0c8fa84f /meta/conf/distro/include
parent30584cbcdc4b709c52325a321c1175bfaf63a167 (diff)
downloadopenembedded-core-6e2b53f47da0e97271fb51b281d24da1e1d549cc.tar.gz
openembedded-core-6e2b53f47da0e97271fb51b281d24da1e1d549cc.tar.bz2
openembedded-core-6e2b53f47da0e97271fb51b281d24da1e1d549cc.tar.xz
openembedded-core-6e2b53f47da0e97271fb51b281d24da1e1d549cc.zip
classes, conf: Exclude native and nativesdk recipes from libc specific override
Based on suggestions from RP libc-uclibc and libc-glibc overrides are for denoting system C library in use on the target and not for the host therefore we make sure that the override only takes effect for target recipes only. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/distro/include')
-rw-r--r--meta/conf/distro/include/tclibc-eglibc.inc3
-rw-r--r--meta/conf/distro/include/tclibc-uclibc.inc3
2 files changed, 4 insertions, 2 deletions
diff --git a/meta/conf/distro/include/tclibc-eglibc.inc b/meta/conf/distro/include/tclibc-eglibc.inc
index 8ef3cebb9..8b8a21413 100644
--- a/meta/conf/distro/include/tclibc-eglibc.inc
+++ b/meta/conf/distro/include/tclibc-eglibc.inc
@@ -5,7 +5,8 @@
LIBCEXTENSION = "${@['', '-gnu'][(d.getVar('ABIEXTENSION', True) or '') != '']}"
# Add glibc overrides to the overrides for eglibc.
-OVERRIDES .= ":libc-glibc"
+LIBCOVERRIDE = ":libc-glibc"
+OVERRIDES .= "${LIBCOVERRIDE}"
PREFERRED_PROVIDER_virtual/libiconv ?= "eglibc"
PREFERRED_PROVIDER_virtual/libiconv-nativesdk ?= "eglibc-nativesdk"
diff --git a/meta/conf/distro/include/tclibc-uclibc.inc b/meta/conf/distro/include/tclibc-uclibc.inc
index e0f50a056..3984235d9 100644
--- a/meta/conf/distro/include/tclibc-uclibc.inc
+++ b/meta/conf/distro/include/tclibc-uclibc.inc
@@ -5,7 +5,8 @@
LIBCEXTENSION = "-uclibc"
# Add uclibc overrides to the overrides.
-OVERRIDES =. "libc-uclibc:"
+LIBCOVERRIDE = ":libc-uclibc"
+OVERRIDES .= "${LIBCOVERRIDE}"
PREFERRED_PROVIDER_virtual/libc = "uclibc"
PREFERRED_PROVIDER_virtual/libiconv ?= "libiconv"