summaryrefslogtreecommitdiff
path: root/meta/conf/distro
diff options
context:
space:
mode:
authorDexuan Cui <dexuan.cui@intel.com>2010-09-21 16:49:15 +0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-09-21 23:36:37 +0100
commit11a92051e714a72523a3ce4d5c627d216d076f61 (patch)
treebd82f4611723d00f8e8fc75b2069dd20eb016db2 /meta/conf/distro
parent73049a3431dc7cdfe841c2b697090e236cd2c301 (diff)
downloadopenembedded-core-11a92051e714a72523a3ce4d5c627d216d076f61.tar.gz
openembedded-core-11a92051e714a72523a3ce4d5c627d216d076f61.tar.bz2
openembedded-core-11a92051e714a72523a3ce4d5c627d216d076f61.zip
poky-eglibc.inc: fix multiple providers for virtual/libc-nativesdk and other
This commit fixes the following error while doing this: bitbake poky-image-minimal NOTE: multiple providers are available for virtual/libc-nativesdk (glibc-nativesdk, eglibc-nativesdk) NOTE: consider defining a PREFERRED_PROVIDER entry to match virtual/libc-nativesdk NOTE: multiple providers are available for virtual/i586-pokysdk-linux-libc-initial-nativesdk (glibc-initial-nativesdk, eglibc-initial-nativesdk) NOTE: consider defining a PREFERRED_PROVIDER entry to match virtual/i586-pokysdk-linux-libc-initial-nativesdk And bumped PR. This partly fixes [BUGID #329] Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Diffstat (limited to 'meta/conf/distro')
-rw-r--r--meta/conf/distro/include/poky-eglibc.inc10
1 files changed, 8 insertions, 2 deletions
diff --git a/meta/conf/distro/include/poky-eglibc.inc b/meta/conf/distro/include/poky-eglibc.inc
index c4e002b6e3..e15fb0f43d 100644
--- a/meta/conf/distro/include/poky-eglibc.inc
+++ b/meta/conf/distro/include/poky-eglibc.inc
@@ -5,11 +5,17 @@
# Add glibc overrides to the overrides for eglibc.
OVERRIDES .= ":libc-glibc"
+#eglibc
PREFERRED_PROVIDER_virtual/libiconv ?= "eglibc"
PREFERRED_PROVIDER_virtual/libintl ?= "eglibc"
PREFERRED_PROVIDER_virtual/libc ?= "eglibc"
-PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial = "eglibc-initial"
-PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "eglibc"
+PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial ?= "eglibc-initial"
+PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc ?= "eglibc"
+
+#eglibc-nativesdk
+PREFERRED_PROVIDER_virtual/libiconv-nativesdk ?= "eglibc-nativesdk"
+PREFERRED_PROVIDER_virtual/libc-nativesdk ?= "eglibc-nativesdk"
+PREFERRED_PROVIDER_virtual/${SDK_PREFIX}libc-initial-nativesdk ?= "eglibc-initial-nativesdk"
TARGET_OS = "${GLIBCTARGETOS}"