diff options
author | Alex Franco <alejandro.franco@linux.intel.com> | 2016-03-23 19:39:09 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-26 22:49:36 +0000 |
commit | 0f9a3b445186b58d2c1f731da94c6b3a05494369 (patch) | |
tree | 42d5fc86a8ab0938d9ffbcbaba4a021ab8be7713 | |
parent | 8cdb505bb3d9748be1744f36cbbfb4f62fa20b67 (diff) | |
download | openembedded-core-0f9a3b445186b58d2c1f731da94c6b3a05494369.tar.gz openembedded-core-0f9a3b445186b58d2c1f731da94c6b3a05494369.tar.bz2 openembedded-core-0f9a3b445186b58d2c1f731da94c6b3a05494369.zip |
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]
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.bbclass | 2 |
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): return "yes" def icc_is_allarch(bb, d): - return d.getVar("PACKAGE_ARCH", False) == "all" + return d.getVar("PACKAGE_ARCH", False) == "all" or bb.data.inherits_class('allarch', d) def icc_is_kernel(bb, d): return \ |