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>
This commit is contained in:
parent
3f1702cc1f
commit
da00f6cc42
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue