Some build systems (like cmake) check whether target binaries are present even if they are not used during compilation. Excluded ${bindir} causes such recipes to fail to build nativesdk variant. The good example of that is protobuf/grpc nativesdk build from meta-oe layer.
For more details refer this long discussion: https://lists.openembedded.org/g/openembedded-devel/topic/101679410#105284 Signed-off-by: Vyacheslav Yurkov <uvv.m...@gmail.com> --- meta/classes-global/staging.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes-global/staging.bbclass b/meta/classes-global/staging.bbclass index d229f40107..72c811d609 100644 --- a/meta/classes-global/staging.bbclass +++ b/meta/classes-global/staging.bbclass @@ -26,6 +26,7 @@ SYSROOT_DIRS_NATIVE = " \ ${localstatedir} \ " SYSROOT_DIRS:append:class-native = " ${SYSROOT_DIRS_NATIVE}" +SYSROOT_DIRS:append:class-nativesdk = " ${SYSROOT_DIRS_NATIVE}" SYSROOT_DIRS:append:class-cross = " ${SYSROOT_DIRS_NATIVE}" SYSROOT_DIRS:append:class-crosssdk = " ${SYSROOT_DIRS_NATIVE}" -- 2.35.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#190400): https://lists.openembedded.org/g/openembedded-core/message/190400 Mute This Topic: https://lists.openembedded.org/mt/102502647/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-