summaryrefslogtreecommitdiffstats
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-28 15:55:48 +0100
commitda00f6cc4210a316cce1dd5297ee64d0fe9894e0 (patch)
tree44d1091230aebd670e18deb94e6f71f0296b1851
parent3f1702cc1f54098877742a8a265adcb73fccb730 (diff)
downloadpoky-da00f6cc4210a316cce1dd5297ee64d0fe9894e0.tar.gz
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] (From OE-Core rev: 45c59ffb742568e4f0d8cf53e4dfba5198bdc9f0) Signed-off-by: Alex Franco <alejandro.franco@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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):
138 return "yes" 138 return "yes"
139 139
140def icc_is_allarch(bb, d): 140def icc_is_allarch(bb, d):
141 return d.getVar("PACKAGE_ARCH", False) == "all" or bb.data.inherits_class('allarch', d) 141 return d.getVar("PACKAGE_ARCH", True) == "all" or bb.data.inherits_class('allarch', d)
142 142
143def icc_is_kernel(bb, d): 143def icc_is_kernel(bb, d):
144 return \ 144 return \