From: Laurentiu Palcu Date: Thu, 16 Jan 2014 11:16:55 +0000 (+0200) Subject: allarch.bbclass: set SDK_ARCH and SDK_CC_ARCH to "none" X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~34843 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7253ad1b00fcef8fe0aeaab06d2fe76c82ba0dc;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git allarch.bbclass: set SDK_ARCH and SDK_CC_ARCH to "none" allarch packages shouldn't use these variables. [YOCTO #5396] Signed-off-by: Laurentiu Palcu Signed-off-by: Richard Purdie --- diff --git a/meta/classes/allarch.bbclass b/meta/classes/allarch.bbclass index 5e13a5b8a81..3ef1e9c0efe 100644 --- a/meta/classes/allarch.bbclass +++ b/meta/classes/allarch.bbclass @@ -23,6 +23,8 @@ python () { d.setVar("TARGET_LD_ARCH", "none") d.setVar("TARGET_AS_ARCH", "none") d.setVar("PACKAGE_EXTRA_ARCHS", "") + d.setVar("SDK_ARCH", "none") + d.setVar("SDK_CC_ARCH", "none") # No need to do shared library processing or debug symbol handling d.setVar("EXCLUDE_FROM_SHLIBS", "1")