[OE-core] [PATCHv3 2/3] icecc.bbclass: expand package arch
Alex Franco
alejandro.franco at linux.intel.com
Thu Mar 24 01:39:10 UTC 2016
Expanding PACKAGE_ARCH might be necessary as it is being
checked against to determine if this is allarch
[YOCTO #8934]
Signed-off-by: Alex Franco <alejandro.franco at linux.intel.com>
---
meta/classes/icecc.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass
index 75d0e5d..b4f1be5 100644
--- a/meta/classes/icecc.bbclass
+++ b/meta/classes/icecc.bbclass
@@ -138,7 +138,7 @@ def use_icc(bb,d):
return "yes"
def icc_is_allarch(bb, d):
- return d.getVar("PACKAGE_ARCH", False) == "all" or bb.data.inherits_class('allarch', d)
+ return d.getVar("PACKAGE_ARCH", True) == "all" or bb.data.inherits_class('allarch', d)
def icc_is_kernel(bb, d):
return \
--
2.7.3
More information about the Openembedded-core
mailing list