diff options
-rw-r--r-- | meta/classes/icecc.bbclass | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass index 312e0f17b5..159cae20f8 100644 --- a/meta/classes/icecc.bbclass +++ b/meta/classes/icecc.bbclass | |||
@@ -428,22 +428,18 @@ set_icecc_env() { | |||
428 | bbnote "Using icecc tarball: $ICECC_VERSION" | 428 | bbnote "Using icecc tarball: $ICECC_VERSION" |
429 | } | 429 | } |
430 | 430 | ||
431 | do_configure[network] = "1" | ||
432 | do_configure:prepend() { | 431 | do_configure:prepend() { |
433 | set_icecc_env | 432 | set_icecc_env |
434 | } | 433 | } |
435 | 434 | ||
436 | do_compile[network] = "1" | ||
437 | do_compile:prepend() { | 435 | do_compile:prepend() { |
438 | set_icecc_env | 436 | set_icecc_env |
439 | } | 437 | } |
440 | 438 | ||
441 | do_compile_kernelmodules[network] = "1" | ||
442 | do_compile_kernelmodules:prepend() { | 439 | do_compile_kernelmodules:prepend() { |
443 | set_icecc_env | 440 | set_icecc_env |
444 | } | 441 | } |
445 | 442 | ||
446 | do_install[network] = "1" | ||
447 | do_install:prepend() { | 443 | do_install:prepend() { |
448 | set_icecc_env | 444 | set_icecc_env |
449 | } | 445 | } |
@@ -457,3 +453,9 @@ ICECC_SDK_HOST_TASK:pn-uninative-tarball = "" | |||
457 | 453 | ||
458 | # Add the toolchain scripts to the SDK | 454 | # Add the toolchain scripts to the SDK |
459 | TOOLCHAIN_HOST_TASK:append = " ${ICECC_SDK_HOST_TASK}" | 455 | TOOLCHAIN_HOST_TASK:append = " ${ICECC_SDK_HOST_TASK}" |
456 | |||
457 | python () { | ||
458 | if d.getVar('ICECC_DISABLED') != "1": | ||
459 | for task in ['do_configure', 'do_compile', 'do_compile_kernelmodules', 'do_install']: | ||
460 | d.setVarFlag(task, 'network', '1') | ||
461 | } | ||