summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorAlex Franco <alejandro.franco@linux.intel.com>2016-03-23 19:39:10 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-26 22:49:36 +0000
commit45c59ffb742568e4f0d8cf53e4dfba5198bdc9f0 (patch)
tree0e878dba90d2bdf05a765327d7b295160804166b /meta/classes
parent0f9a3b445186b58d2c1f731da94c6b3a05494369 (diff)
downloadopenembedded-core-45c59ffb742568e4f0d8cf53e4dfba5198bdc9f0.tar.gz
openembedded-core-45c59ffb742568e4f0d8cf53e4dfba5198bdc9f0.tar.bz2
openembedded-core-45c59ffb742568e4f0d8cf53e4dfba5198bdc9f0.zip
icecc.bbclass: expand package arch
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@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/icecc.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass
index 75d0e5d801..b4f1be553f 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 \