diff options
Diffstat (limited to 'meta/classes/icecc.bbclass')
-rw-r--r-- | meta/classes/icecc.bbclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass index ae74050f6b..f3e89a9747 100644 --- a/meta/classes/icecc.bbclass +++ b/meta/classes/icecc.bbclass | |||
@@ -26,6 +26,8 @@ | |||
26 | #Error checking is kept to minimum so double check any parameters you pass to the class | 26 | #Error checking is kept to minimum so double check any parameters you pass to the class |
27 | ########################################################################################### | 27 | ########################################################################################### |
28 | 28 | ||
29 | BB_HASHBASE_WHITELIST += "ICECC_PARALLEL_MAKE ICECC_DISABLED" | ||
30 | |||
29 | ICECC_ENV_EXEC ?= "${STAGING_BINDIR_NATIVE}/icecc-create-env" | 31 | ICECC_ENV_EXEC ?= "${STAGING_BINDIR_NATIVE}/icecc-create-env" |
30 | 32 | ||
31 | def icecc_dep_prepend(d): | 33 | def icecc_dep_prepend(d): |
@@ -160,6 +162,10 @@ def icc_get_tool(bb, d, tool): | |||
160 | return os.path.join(ice_dir, "%s-%s" % (target_sys, tool)) | 162 | return os.path.join(ice_dir, "%s-%s" % (target_sys, tool)) |
161 | 163 | ||
162 | set_icecc_env() { | 164 | set_icecc_env() { |
165 | if [ "x${ICECC_DISABLED}" != "x" ] | ||
166 | then | ||
167 | return | ||
168 | fi | ||
163 | ICECC_VERSION="${@icc_version(bb, d)}" | 169 | ICECC_VERSION="${@icc_version(bb, d)}" |
164 | if [ "x${ICECC_VERSION}" = "x" ] | 170 | if [ "x${ICECC_VERSION}" = "x" ] |
165 | then | 171 | then |