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>
This commit is contained in:
parent
1dcbf3096d
commit
e2c2b5b3af
|
@ -4,8 +4,9 @@ EXCLUDE_FROM_WORLD = "1"
|
||||||
|
|
||||||
STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${SDK_ARCH}${SDK_VENDOR}-${SDK_OS}"
|
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
|
# libc for the SDK can be different to that of the target
|
||||||
LIBCOVERRIDE = ""
|
NATIVESDKLIBC ?= "libc-glibc"
|
||||||
|
LIBCOVERRIDE = ":${NATIVESDKLIBC}"
|
||||||
CLASSOVERRIDE = "class-nativesdk"
|
CLASSOVERRIDE = "class-nativesdk"
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue