summaryrefslogtreecommitdiffstats
path: root/meta/classes/icecc.bbclass
diff options
context:
space:
mode:
authorAlex Franco <alejandro.franco@linux.intel.com>2016-03-23 19:39:09 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-28 15:55:48 +0100
commit3f1702cc1f54098877742a8a265adcb73fccb730 (patch)
tree3d19ce17c588e1c9c03acbdf0f1c89a4b0476b46 /meta/classes/icecc.bbclass
parent39170fe6f1a20f03ff3a5d189b6795e808c41124 (diff)
downloadpoky-3f1702cc1f54098877742a8a265adcb73fccb730.tar.gz
icecc.bbclass: add icc_is_allarch inherit check
Additional check for inheritance of allarch.bbclass, for when checking that PACKAGE_ARCH == "all" is not enough to be sure a recipe is "allarch"; e.g. nativesdk-buildtools type recipes [YOCTO #8934] (From OE-Core rev: 0f9a3b445186b58d2c1f731da94c6b3a05494369) Signed-off-by: Alex Franco <alejandro.franco@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/icecc.bbclass')
-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 61b8bb1a11..75d0e5d801 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" 141 return d.getVar("PACKAGE_ARCH", False) == "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 \