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>
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 \