diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-24 09:56:15 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-26 11:12:12 +0000 |
commit | 46cb0124916ae4df6ece3398a82d62b656228c27 (patch) | |
tree | ecbe23603b8bcb73ddf55ab10244cde40c9200a5 | |
parent | f4743e0686a4211edd610cc5f2de70a223723b70 (diff) | |
download | poky-46cb0124916ae4df6ece3398a82d62b656228c27.tar.gz |
crosssdk/cross-canadian: Set LIBCOVERRIDE correctly
(From OE-Core rev: 94bece16c23c9ec8850fd497aea37e6a265da30a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/cross-canadian.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/crosssdk.bbclass | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass index acde331ef9..f5c9f61595 100644 --- a/meta/classes/cross-canadian.bbclass +++ b/meta/classes/cross-canadian.bbclass | |||
@@ -8,6 +8,8 @@ | |||
8 | # SDK packages are built either explicitly by the user, | 8 | # SDK packages are built either explicitly by the user, |
9 | # or indirectly via dependency. No need to be in 'world'. | 9 | # or indirectly via dependency. No need to be in 'world'. |
10 | EXCLUDE_FROM_WORLD = "1" | 10 | EXCLUDE_FROM_WORLD = "1" |
11 | NATIVESDKLIBC ?= "libc-glibc" | ||
12 | LIBCOVERRIDE = ":${NATIVESDKLIBC}" | ||
11 | CLASSOVERRIDE = "class-cross-canadian" | 13 | CLASSOVERRIDE = "class-cross-canadian" |
12 | STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${SDK_ARCH}${SDK_VENDOR}-${SDK_OS}:${STAGING_DIR_NATIVE}${bindir_native}/${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}" | 14 | STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${SDK_ARCH}${SDK_VENDOR}-${SDK_OS}:${STAGING_DIR_NATIVE}${bindir_native}/${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}" |
13 | 15 | ||
diff --git a/meta/classes/crosssdk.bbclass b/meta/classes/crosssdk.bbclass index fdaaac8481..c0c0bfee16 100644 --- a/meta/classes/crosssdk.bbclass +++ b/meta/classes/crosssdk.bbclass | |||
@@ -1,6 +1,8 @@ | |||
1 | inherit cross | 1 | inherit cross |
2 | 2 | ||
3 | CLASSOVERRIDE = "class-crosssdk" | 3 | CLASSOVERRIDE = "class-crosssdk" |
4 | NATIVESDKLIBC ?= "libc-glibc" | ||
5 | LIBCOVERRIDE = ":${NATIVESDKLIBC}" | ||
4 | MACHINEOVERRIDES = "" | 6 | MACHINEOVERRIDES = "" |
5 | PACKAGE_ARCH = "${SDK_ARCH}" | 7 | PACKAGE_ARCH = "${SDK_ARCH}" |
6 | python () { | 8 | python () { |