diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/populate_sdk.bbclass | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/classes/populate_sdk.bbclass b/meta/classes/populate_sdk.bbclass index 1ef72cfeb2..5aa8e92b87 100644 --- a/meta/classes/populate_sdk.bbclass +++ b/meta/classes/populate_sdk.bbclass | |||
@@ -18,6 +18,13 @@ PID = "${@os.getpid()}" | |||
18 | 18 | ||
19 | EXCLUDE_FROM_WORLD = "1" | 19 | EXCLUDE_FROM_WORLD = "1" |
20 | 20 | ||
21 | python () { | ||
22 | # If we don't do this we try and run the mapping hooks while parsing which is slow | ||
23 | # bitbake should really provide something to let us know this... | ||
24 | if bb.data.getVar('BB_WORKERCONTEXT', d, True) is not None: | ||
25 | runtime_mapping_rename("TOOLCHAIN_TARGET_TASK", d) | ||
26 | } | ||
27 | |||
21 | fakeroot do_populate_sdk() { | 28 | fakeroot do_populate_sdk() { |
22 | rm -rf ${SDK_OUTPUT} | 29 | rm -rf ${SDK_OUTPUT} |
23 | mkdir -p ${SDK_OUTPUT} | 30 | mkdir -p ${SDK_OUTPUT} |