summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/icecc.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/icecc.bbclass b/classes/icecc.bbclass
index 9e11a3ce49..8e539db0b8 100644
--- a/classes/icecc.bbclass
+++ b/classes/icecc.bbclass
@@ -257,7 +257,8 @@ def icc_path(bb,d):
for black in package_blacklist:
if black in package_tmp:
bb.note(package_tmp, ' found in blacklist, disable icecc')
- bb.data.setVar("PARALLEL_MAKE" , "", d)
+ fallback_parallel = bb.data.getVar('ICECC_FALLBACK_PARALLEL', d) or ""
+ bb.data.setVar("PARALLEL_MAKE", fallback_parallel, d)
return ""
prefix = bb.data.expand('${HOST_PREFIX}', d)