Patchwork nativesdk: Set LIBCOVERRIDE to a value

mail settings
Submitter Richard Purdie
Date Dec. 15, 2013, 4:33 p.m.
Message ID <1387125227.20901.106.camel@ted>
Download mbox | patch
Permalink /patch/63361/
State Accepted
Commit 154f5782d95b4bca8e574d3d3fde170ce3d196ae
Headers show


Richard Purdie - Dec. 15, 2013, 4:33 p.m.
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.

Signed-off-by: Richard Purdie <>


diff --git a/meta/classes/nativesdk.bbclass b/meta/classes/nativesdk.bbclass
index 21a69c7..7f94258 100644
--- a/meta/classes/nativesdk.bbclass
+++ b/meta/classes/nativesdk.bbclass
@@ -4,8 +4,9 @@  EXCLUDE_FROM_WORLD = "1"
-# 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
+NATIVESDKLIBC ?= "libc-glibc"
 CLASSOVERRIDE = "class-nativesdk"