mirror of
https://git.yoctoproject.org/poky-contrib
synced 2025-05-08 23:52:25 +08:00
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>
This commit is contained in:
parent
5780f45bc1
commit
24adab701a
@ -104,6 +104,7 @@ python () {
|
||||
clsextend.rename_package_variables((d.getVar("PACKAGEVARS") or "").split())
|
||||
|
||||
clsextend.map_depends_variable("DEPENDS")
|
||||
clsextend.map_depends_variable("PACKAGE_WRITE_DEPS")
|
||||
clsextend.map_packagevars()
|
||||
clsextend.map_variable("PROVIDES")
|
||||
clsextend.map_regexp_variable("PACKAGES_DYNAMIC")
|
||||
|
Loading…
x
Reference in New Issue
Block a user