mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
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 (From OE-Core rev: 6907da7eb44dca812dbb9e214357ee96e9ff738a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
8491ca52b8
commit
d09e6d8830
|
|
@ -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:"
|
||||
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${SDK_ARCH}${S
|
|||
NATIVESDKLIBC ?= "libc-glibc"
|
||||
LIBCOVERRIDE = ":${NATIVESDKLIBC}"
|
||||
CLASSOVERRIDE = "class-nativesdk"
|
||||
MACHINEOVERRIDES = ""
|
||||
|
||||
#
|
||||
# Update PACKAGE_ARCH and PACKAGE_ARCHS
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user