From 6e2b53f47da0e97271fb51b281d24da1e1d549cc Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 30 Nov 2011 19:07:07 -0800 Subject: classes, conf: Exclude native and nativesdk recipes from libc specific override Based on suggestions from RP libc-uclibc and libc-glibc overrides are for denoting system C library in use on the target and not for the host therefore we make sure that the override only takes effect for target recipes only. Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/classes/native.bbclass | 3 +++ meta/classes/nativesdk.bbclass | 3 +++ 2 files changed, 6 insertions(+) (limited to 'meta/classes') diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass index 8f7cc1f2d..49823d6fc 100644 --- a/meta/classes/native.bbclass +++ b/meta/classes/native.bbclass @@ -92,6 +92,9 @@ EXTRA_NATIVE_PKGCONFIG_PATH ?= "" PKG_CONFIG_PATH .= "${EXTRA_NATIVE_PKGCONFIG_PATH}" PKG_CONFIG_SYSROOT_DIR = "" +# we dont want libc-uclibc or libc-glibc to kick in for native recipes +LIBCOVERRIDE = "" + PATH =. "${COREBASE}/scripts/native-intercept:" python native_virtclass_handler () { diff --git a/meta/classes/nativesdk.bbclass b/meta/classes/nativesdk.bbclass index e6204c02b..b8abc9f3f 100644 --- a/meta/classes/nativesdk.bbclass +++ b/meta/classes/nativesdk.bbclass @@ -6,6 +6,9 @@ EXCLUDE_FROM_WORLD = "1" 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 +LIBCOVERRIDE = "" + # # Update PACKAGE_ARCH and PACKAGE_ARCHS # -- cgit v1.2.3