allarch.bbclass: set SDK_ARCH and SDK_CC_ARCH to "none"

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>
This commit is contained in:
Laurentiu Palcu 2014-01-16 13:16:55 +02:00 committed by Richard Purdie
parent e665db7f0f
commit 63cde72515
1 changed files with 2 additions and 0 deletions

View 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")