summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/populate_sdk.bbclass7
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
19EXCLUDE_FROM_WORLD = "1" 19EXCLUDE_FROM_WORLD = "1"
20 20
21python () {
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
21fakeroot do_populate_sdk() { 28fakeroot do_populate_sdk() {
22 rm -rf ${SDK_OUTPUT} 29 rm -rf ${SDK_OUTPUT}
23 mkdir -p ${SDK_OUTPUT} 30 mkdir -p ${SDK_OUTPUT}