def use_icc_version(bb,d):
icecc_ver = "yes"
print("000000000000000000000000000000000")
system_class_blacklist = [ "cross" ]
"system_class_blacklist".join(map(str, bb.data.expand('${ICECC_USER_CLASS_BL}', d) ))
#system_class_blacklist = bb.data.getVar('ICECC_USER_CLASS_BL', d)
for black in system_class_blacklist:
print("Class value is %s " %black)
if bb.data.inherits_class(black, d):
icecc_ver = "no"
print("000000000000000000000000000000000")
return icecc_ver
def icc_path(bb,d,compile):
package_tmp = bb.data.expand('${PN}', d)
#"system" package blacklist contains a list of packages that can not distribute compile tasks
#for one reason or the other
system_package_blacklist = [ "ulibc", "glibc", "qemu" ]
for black in system_package_blacklist:
if black in package_tmp:
return ""
#user specified list of packages defined in local.conf
user_package_blacklist = bb.data.expand('${ICECC_USER_PACKAGE_BL}', d) or "none"
for black in user_package_blacklist:
if black in package_tmp:
return ""