]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
nativesdk.bbclass: handle PACKAGE_WRITE_DEPS
authorChen Qi <Qi.Chen@windriver.com>
Sun, 20 Apr 2025 04:05:26 +0000 (12:05 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Apr 2025 08:17:20 +0000 (09:17 +0100)
commit89ac78e68c4be6e6163223c99e140e7530a61e8e
treeeb22cee424dd3e793b708d3d4db0704080c1894d
parentef705f6969845aa4b28cb2cfb95b0aa0c67c11e3
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

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/nativesdk.bbclass