[oe-commits] Laurentiu Palcu : allarch.bbclass: set SDK_ARCH and SDK_CC_ARCH to "none"

git at git.openembedded.org git at git.openembedded.org
Thu Jan 16 12:07:44 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: c7253ad1b00fcef8fe0aeaab06d2fe76c82ba0dc
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c7253ad1b00fcef8fe0aeaab06d2fe76c82ba0dc

Author: Laurentiu Palcu <laurentiu.palcu at intel.com>
Date:   Thu Jan 16 13:16:55 2014 +0200

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 at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/allarch.bbclass | 2 ++
 1 file changed, 2 insertions(+)

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



More information about the Openembedded-commits mailing list