diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/icecc.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass index cf3f23d93a..71c556fc78 100644 --- a/meta/classes/icecc.bbclass +++ b/meta/classes/icecc.bbclass | |||
@@ -196,12 +196,14 @@ set_icecc_env() { | |||
196 | ICECC_VERSION="${@icc_version(bb, d)}" | 196 | ICECC_VERSION="${@icc_version(bb, d)}" |
197 | if [ "x${ICECC_VERSION}" = "x" ] | 197 | if [ "x${ICECC_VERSION}" = "x" ] |
198 | then | 198 | then |
199 | bbwarn "Cannot use icecc: could not get ICECC_VERSION" | ||
199 | return | 200 | return |
200 | fi | 201 | fi |
201 | 202 | ||
202 | ICE_PATH="${@icc_path(bb, d)}" | 203 | ICE_PATH="${@icc_path(bb, d)}" |
203 | if [ "x${ICE_PATH}" = "x" ] | 204 | if [ "x${ICE_PATH}" = "x" ] |
204 | then | 205 | then |
206 | bbwarn "Cannot use icecc: could not get ICE_PATH" | ||
205 | return | 207 | return |
206 | fi | 208 | fi |
207 | 209 | ||
@@ -209,6 +211,7 @@ set_icecc_env() { | |||
209 | ICECC_CXX="${@icc_get_and_check_tool(bb, d, "g++")}" | 211 | ICECC_CXX="${@icc_get_and_check_tool(bb, d, "g++")}" |
210 | if [ ! -x "${ICECC_CC}" -o ! -x "${ICECC_CXX}" ] | 212 | if [ ! -x "${ICECC_CC}" -o ! -x "${ICECC_CXX}" ] |
211 | then | 213 | then |
214 | bbwarn "Cannot use icecc: could not get ICECC_CC or ICECC_CXX" | ||
212 | return | 215 | return |
213 | fi | 216 | fi |
214 | 217 | ||
@@ -216,6 +219,7 @@ set_icecc_env() { | |||
216 | ICECC_VERSION=`echo ${ICECC_VERSION} | sed -e "s/@VERSION@/$ICE_VERSION/g"` | 219 | ICECC_VERSION=`echo ${ICECC_VERSION} | sed -e "s/@VERSION@/$ICE_VERSION/g"` |
217 | if [ ! -x "${ICECC_ENV_EXEC}" ] | 220 | if [ ! -x "${ICECC_ENV_EXEC}" ] |
218 | then | 221 | then |
222 | bbwarn "Cannot use icecc: invalid ICECC_ENV_EXEC" | ||
219 | return | 223 | return |
220 | fi | 224 | fi |
221 | 225 | ||