summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@intel.com>2014-01-16 13:16:55 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-16 11:56:40 +0000
commitc7253ad1b00fcef8fe0aeaab06d2fe76c82ba0dc (patch)
tree9d7f26d40e7b1a25e0f6641e8bf435d6b8544597
parent7b6316093ab28782edd45084d43dbd5c309be7c8 (diff)
downloadopenembedded-core-c7253ad1b00fcef8fe0aeaab06d2fe76c82ba0dc.tar.gz
openembedded-core-c7253ad1b00fcef8fe0aeaab06d2fe76c82ba0dc.tar.bz2
openembedded-core-c7253ad1b00fcef8fe0aeaab06d2fe76c82ba0dc.zip
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 <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/allarch.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/allarch.bbclass b/meta/classes/allarch.bbclass
index 5e13a5b8a8..3ef1e9c0ef 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")