aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/populate_sdk_base.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass
index 5c0769373a0..7f7a87fdd20 100644
--- a/meta/classes/populate_sdk_base.bbclass
+++ b/meta/classes/populate_sdk_base.bbclass
@@ -94,7 +94,9 @@ fakeroot python do_populate_sdk() {
bb.build.exec_func("tar_sdk", d)
- bb.build.exec_func(d.getVar("SDK_PACKAGING_FUNC", True), d)
+ sdk_packaging_func = d.getVar("SDK_PACKAGING_FUNC", True) or ""
+ if sdk_packaging_func.strip():
+ bb.build.exec_func(d.getVar("SDK_PACKAGING_FUNC", True), d)
}
fakeroot create_sdk_files() {