[oe-commits] Richard Purdie : nativesdk: Set LIBCOVERRIDE to a value
git at git.openembedded.org
git at git.openembedded.org
Sun Dec 15 16:45:01 UTC 2013
Module: openembedded-core.git
Branch: master-next
Commit: 154f5782d95b4bca8e574d3d3fde170ce3d196ae
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=154f5782d95b4bca8e574d3d3fde170ce3d196ae
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date: Sun Dec 15 16:33:47 2013 +0000
nativesdk: Set LIBCOVERRIDE to a value
nativesdk was just unsetting LIBCOVERRIDE however that causes some build failures
for xorg-libs which used a libc override. This adds in a mechanism to force
nativesdk to glibc and give the option of allowing another selection like
uclibc if anyone ever does the work to make it operational.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/nativesdk.bbclass | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta/classes/nativesdk.bbclass b/meta/classes/nativesdk.bbclass
index 21a69c7..7f94258 100644
--- a/meta/classes/nativesdk.bbclass
+++ b/meta/classes/nativesdk.bbclass
@@ -4,8 +4,9 @@ EXCLUDE_FROM_WORLD = "1"
STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${SDK_ARCH}${SDK_VENDOR}-${SDK_OS}"
-# we dont want libc-uclibc or libc-glibc to kick in for nativesdk recipes
-LIBCOVERRIDE = ""
+# libc for the SDK can be different to that of the target
+NATIVESDKLIBC ?= "libc-glibc"
+LIBCOVERRIDE = ":${NATIVESDKLIBC}"
CLASSOVERRIDE = "class-nativesdk"
#
More information about the Openembedded-commits
mailing list