diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-15 16:33:47 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-16 12:13:50 +0000 |
commit | e2c2b5b3afdde6bcb39e9871cb1daf4a50fa1dfe (patch) | |
tree | 74110cc2de0f0cd4b5be1d62424780c59d057c8f /meta/classes/nativesdk.bbclass | |
parent | 1dcbf3096d7d42032faade96dae89c25a4feca7a (diff) | |
download | poky-e2c2b5b3afdde6bcb39e9871cb1daf4a50fa1dfe.tar.gz |
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.
(From OE-Core rev: 154f5782d95b4bca8e574d3d3fde170ce3d196ae)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/nativesdk.bbclass')
-rw-r--r-- | meta/classes/nativesdk.bbclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/classes/nativesdk.bbclass b/meta/classes/nativesdk.bbclass index 21a69c7ee6..7f94258bf1 100644 --- a/meta/classes/nativesdk.bbclass +++ b/meta/classes/nativesdk.bbclass | |||
@@ -4,8 +4,9 @@ EXCLUDE_FROM_WORLD = "1" | |||
4 | 4 | ||
5 | STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${SDK_ARCH}${SDK_VENDOR}-${SDK_OS}" | 5 | STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${SDK_ARCH}${SDK_VENDOR}-${SDK_OS}" |
6 | 6 | ||
7 | # we dont want libc-uclibc or libc-glibc to kick in for nativesdk recipes | 7 | # libc for the SDK can be different to that of the target |
8 | LIBCOVERRIDE = "" | 8 | NATIVESDKLIBC ?= "libc-glibc" |
9 | LIBCOVERRIDE = ":${NATIVESDKLIBC}" | ||
9 | CLASSOVERRIDE = "class-nativesdk" | 10 | CLASSOVERRIDE = "class-nativesdk" |
10 | 11 | ||
11 | # | 12 | # |