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

login
register
mail settings
Submitter Laurentiu Palcu
Date Jan. 16, 2014, 11:16 a.m.
Message ID <28aeaccf147ef3ac98fb4bfce011edf05b97d634.1389870944.git.laurentiu.palcu@intel.com>
Download mbox | patch
Permalink /patch/64951/
State Accepted
Commit 63cde7251587747264601f1572699b26abdac11f
Headers show

Comments

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

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