1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-07 16:59:22 +00:00

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:
Alex Franco
2016-03-23 19:39:10 -06:00
committed by Richard Purdie
parent 3f1702cc1f
commit da00f6cc42
+1 -1
View File
@@ -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 \