allarch.bbclass: set SDK_ARCH and SDK_CC_ARCH to "none"
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Thu, 16 Jan 2014 11:16:55 +0000 (13:16 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 16 Jan 2014 12:05:47 +0000 (12:05 +0000)
allarch packages shouldn't use these variables.

[YOCTO #5396]

(From OE-Core rev: c7253ad1b00fcef8fe0aeaab06d2fe76c82ba0dc)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/allarch.bbclass

index 5e13a5b..3ef1e9c 100644 (file)
@@ -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")