Closed SquallATF closed 2 years ago
try:
+++ b/recipes-graphics/rockchip-libmali/rockchip-libmali.bb @@ -96,5 +96,6 @@ FILES:${PN}:append = " \
FILES:${PN}-dev = " \ ${includedir} \
After rebuild, I found that this patch doesn't work, libmali_hook_injector
still packaged in rockchip-libmali-staticdev
.
may be should add TOOLCHAIN_TARGET_TASK:append = " rockchip-libmali-staticdev"
in config file.
hmm, that is because it(-staticdev) has the higher list order than -dev in the default PACKAGES list, that is not what i expected. (so it's out-dated somehow in https://www.yoctoproject.org/docs/1.1/poky-ref-manual/poky-ref-manual.html)
anyway, i've re-wrote the fix, please try.
the reason i don't want to use -staticdev here is that i think it's designed for static building, so instead of adding exceptions to every shared/static building logic(may not only the sdk building), i'd prefer this way ;)
Thanks, new fix worked.
libmali_hook_injector.a
packaged inrockchip-libmali-staticdev
,rockchip-libmali-dev
required it but does not depend on it.