summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2025-04-20 12:05:26 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-04-23 09:47:42 +0100
commit24adab701ac8e2da85b78ce4c7fe71d23feabd78 (patch)
treeff8ebd9b1b1756bb568bea8bb1228b488372f673
parent5780f45bc106af046b27bfcb02616baa1d1796c5 (diff)
downloadpoky-24adab701ac8e2da85b78ce4c7fe71d23feabd78.tar.gz
nativesdk.bbclass: handle PACKAGE_WRITE_DEPS
We want nativesdk packages to depend on correct recipes introduced by PACKAGE_WRITE_DEPS, so do the same mapping just as we do for DEPENDS. Before this change: nativesdk-glib-2.0 -> qemuwrapper-cross After this change: nativesdk-glib-2.0 -> nativesdk-qemuwrapper-cross This can fix do_populate_sdk failure complaining missing of nativesdk-qemuwrapper. Error message is like below: NOTE: > Executing update_gio_module_cache-nativesdk intercept ... NOTE: Exit code 127. Output: /xxx/lib32-core-image-sato/1.0/intercept_scripts-xxxx/ update_gio_module_cache-nativesdk: 13: nativesdk-qemuwrapper: not found (From OE-Core rev: 89ac78e68c4be6e6163223c99e140e7530a61e8e) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes-recipe/nativesdk.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes-recipe/nativesdk.bbclass b/meta/classes-recipe/nativesdk.bbclass
index 4e57349aa0..7ecb4c12c1 100644
--- a/meta/classes-recipe/nativesdk.bbclass
+++ b/meta/classes-recipe/nativesdk.bbclass
@@ -104,6 +104,7 @@ python () {
104 clsextend.rename_package_variables((d.getVar("PACKAGEVARS") or "").split()) 104 clsextend.rename_package_variables((d.getVar("PACKAGEVARS") or "").split())
105 105
106 clsextend.map_depends_variable("DEPENDS") 106 clsextend.map_depends_variable("DEPENDS")
107 clsextend.map_depends_variable("PACKAGE_WRITE_DEPS")
107 clsextend.map_packagevars() 108 clsextend.map_packagevars()
108 clsextend.map_variable("PROVIDES") 109 clsextend.map_variable("PROVIDES")
109 clsextend.map_regexp_variable("PACKAGES_DYNAMIC") 110 clsextend.map_regexp_variable("PACKAGES_DYNAMIC")