[1/2] allarch.bbclass: set SDK_ARCH and SDK_CC_ARCH to "none"

Submitted by Laurentiu Palcu on Jan. 16, 2014, 11:16 a.m.

Details

Message ID 28aeaccf147ef3ac98fb4bfce011edf05b97d634.1389870944.git.laurentiu.palcu@intel.com
State Accepted
Commit c7253ad1b00fcef8fe0aeaab06d2fe76c82ba0dc
Headers show

Commit Message

Laurentiu Palcu Jan. 16, 2014, 11:16 a.m.
allarch packages shouldn't use these variables.

[YOCTO #5396]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
---
 meta/classes/allarch.bbclass |    2 ++
 1 file changed, 2 insertions(+)

Patch hide | download patch | download mbox

diff --git a/meta/classes/allarch.bbclass b/meta/classes/allarch.bbclass
index 5e13a5b..3ef1e9c 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")