diff options
-rw-r--r-- | meta/classes/populate_sdk_base.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass index 6eb6726033..a914a2c273 100644 --- a/meta/classes/populate_sdk_base.bbclass +++ b/meta/classes/populate_sdk_base.bbclass | |||
@@ -24,6 +24,8 @@ PID = "${@os.getpid()}" | |||
24 | 24 | ||
25 | EXCLUDE_FROM_WORLD = "1" | 25 | EXCLUDE_FROM_WORLD = "1" |
26 | 26 | ||
27 | SDK_PACKAGING_FUNC ?= "create_shar" | ||
28 | |||
27 | python () { | 29 | python () { |
28 | # If we don't do this we try and run the mapping hooks while parsing which is slow | 30 | # If we don't do this we try and run the mapping hooks while parsing which is slow |
29 | # bitbake should really provide something to let us know this... | 31 | # bitbake should really provide something to let us know this... |
@@ -56,7 +58,7 @@ fakeroot python do_populate_sdk() { | |||
56 | 58 | ||
57 | bb.build.exec_func("tar_sdk", d) | 59 | bb.build.exec_func("tar_sdk", d) |
58 | 60 | ||
59 | bb.build.exec_func("create_shar", d) | 61 | bb.build.exec_func(d.getVar("SDK_PACKAGING_FUNC", True), d) |
60 | } | 62 | } |
61 | 63 | ||
62 | fakeroot populate_sdk_image() { | 64 | fakeroot populate_sdk_image() { |