diff options
author | Khem Raj <raj.khem@gmail.com> | 2014-08-25 12:01:17 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-27 12:12:04 +0100 |
commit | 6907da7eb44dca812dbb9e214357ee96e9ff738a (patch) | |
tree | 4bbae4ff9ffffdb0267a0d6c25412ef646154cb0 /meta/classes/native.bbclass | |
parent | 9d31e1e6ce07991fe360e67295311e62a55603af (diff) | |
download | openembedded-core-contrib-6907da7eb44dca812dbb9e214357ee96e9ff738a.tar.gz |
native/nativesdk: Clear MACHINEOVERRIDES
In cases where we override variables e.g PACKAGE_ARCH
conditionally and use a MACHINEOVERRIDE to qualify the
override like
PACKAGE_ARCH_<MACHINE> = "some target PACKAGE_ARCH"
This would also be effective if this recipe is
BBEXTENDED to native or nativesdk which is undesired
This particular issue will cause wrong sysroot to be
used for nativesdk case since PACKAGE_ARCH would have
been modified and eventually changing value of
STAGING_DIR_TARGET which we use as --sysroot option
to cross and cross-canadian built SDK gcc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/native.bbclass')
-rw-r--r-- | meta/classes/native.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass index 9dec318aa8a..adebb976515 100644 --- a/meta/classes/native.bbclass +++ b/meta/classes/native.bbclass @@ -109,6 +109,7 @@ PKG_CONFIG_SYSROOT_DIR = "" # we dont want libc-uclibc or libc-glibc to kick in for native recipes LIBCOVERRIDE = "" CLASSOVERRIDE = "class-native" +MACHINEOVERRIDES = "" PATH_prepend = "${COREBASE}/scripts/native-intercept:" |