From: Alex Franco Date: Thu, 24 Mar 2016 01:39:10 +0000 (-0600) Subject: icecc.bbclass: expand package arch X-Git-Tag: 2016-4~278 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=45c59ffb742568e4f0d8cf53e4dfba5198bdc9f0;p=openembedded-core.git 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] Signed-off-by: Alex Franco Signed-off-by: Richard Purdie --- diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass index 75d0e5d801..b4f1be553f 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" 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 \