diff options
Diffstat (limited to 'meta/classes/populate_sdk.bbclass')
-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()}" EXCLUDE_FROM_WORLD = "1" +python () { + # If we don't do this we try and run the mapping hooks while parsing which is slow + # bitbake should really provide something to let us know this... + if bb.data.getVar('BB_WORKERCONTEXT', d, True) is not None: + runtime_mapping_rename("TOOLCHAIN_TARGET_TASK", d) +} + fakeroot do_populate_sdk() { rm -rf ${SDK_OUTPUT} mkdir -p ${SDK_OUTPUT} |