Hello Tomas,
I added the SYSROOT_DIRS_NATIVE variable, but it didn't have any effect.
The documentation states that SYSROOT_DIRS_NATIVE is a complement to SYSROOT_DIRS.
The contents of the SYSROOT_DIRS are valid for native recipes. That is, there is no need for duplication in SYSROOT_DIRS_NATIVE.
> Extra directories staged into the sysroot by the do_populate_sysroot task for
-native
recipes, in addition to those specified in SYSROOT_DIRS.----
Sincerely, Evgeny Sagatov
Sincerely, Evgeny Sagatov
28.06.2024, 12:52, "tp...@email.cz" <tp...@email.cz>:
Hello Evgeny,
if I understand your issue correctly, you also need to add the INSTALL_DIR path to the SYSROOT_DIRS_NATIVE variable, as the "/opt" is a non-standard path in Yocto.
You already did that for the SYSROOT_DIRS variable, which is why the files were placed in recipe-sysroot when depending on a non-native target.
Tomas
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#63411): https://lists.yoctoproject.org/g/yocto/message/63411 Mute This Topic: https://lists.yoctoproject.org/mt/106917644/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-