summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/icecc.bbclass10
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
431do_configure[network] = "1"
432do_configure:prepend() { 431do_configure:prepend() {
433 set_icecc_env 432 set_icecc_env
434} 433}
435 434
436do_compile[network] = "1"
437do_compile:prepend() { 435do_compile:prepend() {
438 set_icecc_env 436 set_icecc_env
439} 437}
440 438
441do_compile_kernelmodules[network] = "1"
442do_compile_kernelmodules:prepend() { 439do_compile_kernelmodules:prepend() {
443 set_icecc_env 440 set_icecc_env
444} 441}
445 442
446do_install[network] = "1"
447do_install:prepend() { 443do_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
459TOOLCHAIN_HOST_TASK:append = " ${ICECC_SDK_HOST_TASK}" 455TOOLCHAIN_HOST_TASK:append = " ${ICECC_SDK_HOST_TASK}"
456
457python () {
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}