]> code.ossystems Code Review - openembedded-core.git/commitdiff
icecc.bbclass: expand package arch
authorAlex Franco <alejandro.franco@linux.intel.com>
Thu, 24 Mar 2016 01:39:10 +0000 (19:39 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 26 Mar 2016 22:49:36 +0000 (22:49 +0000)
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 <alejandro.franco@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/icecc.bbclass

index 75d0e5d8019786971b199f924e40c48da6e2423f..b4f1be553f4e41085ac78b418d64ae7099622eb0 100644 (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 \