diff options
Diffstat (limited to 'meta/classes/populate_sdk_base.bbclass')
-rw-r--r-- | meta/classes/populate_sdk_base.bbclass | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass index 88de1e48ac..7af2d2e9e2 100644 --- a/meta/classes/populate_sdk_base.bbclass +++ b/meta/classes/populate_sdk_base.bbclass | |||
@@ -29,14 +29,9 @@ EXCLUDE_FROM_WORLD = "1" | |||
29 | 29 | ||
30 | SDK_PACKAGING_FUNC ?= "create_shar" | 30 | SDK_PACKAGING_FUNC ?= "create_shar" |
31 | 31 | ||
32 | python () { | ||
33 | # If we don't do this we try and run the mapping hooks while parsing which is slow | ||
34 | # bitbake should really provide something to let us know this... | ||
35 | if bb.data.getVar('BB_WORKERCONTEXT', d, True) is not None: | ||
36 | runtime_mapping_rename("TOOLCHAIN_TARGET_TASK", d) | ||
37 | } | ||
38 | |||
39 | fakeroot python do_populate_sdk() { | 32 | fakeroot python do_populate_sdk() { |
33 | runtime_mapping_rename("TOOLCHAIN_TARGET_TASK", d) | ||
34 | |||
40 | bb.build.exec_func("populate_sdk_image", d) | 35 | bb.build.exec_func("populate_sdk_image", d) |
41 | 36 | ||
42 | # Handle multilibs in the SDK environment, siteconfig, etc files... | 37 | # Handle multilibs in the SDK environment, siteconfig, etc files... |