Classified as: {OPEN}
Hi!
I'm currently struggling to get a specific paket into the SDK of our image.
The situation is as follows.
We have a "library" which is generated code and header only. The code is
generated via a python module which is obviously a dependency of this library
but with the native part.
As this library is header only, it does not appear in the rootfs, of course.
Now the SDK does not include the headers of this library and the python module
which is used for generating the code is not part of the SDK too.
As I want to be able to build the headers only library via SDK, we need the
python module in the sdk.
As I want to be able to build the app, which needs the headers only library,
via SDK, we need the headers of this library in the sdk.
I added the library recipe to the DEPENDS of the app. I added the native part
of the python module to the DEPENDS of the library and RDEPEND:${PN}-dev onto
the nativesdk part of the python module in the libarry.
But nothing brings the wished result except adding TOOLCHAIN_HOST_TASK +=
nativesdk-......
Is this really the only way to get the python module and the library into the
SDK or am I doing something completely wrong?!
How does yocto determine via DEPENDS and RDEPENDS, what is going into the SDK
and what not?
Cheers,
Thilo
Thilo Cestonaro
Embedded Software Engineer
Avionics / Training & Simulation / Switzerland
Thales
M: +41 (0) 79 536 56 48
Thales Simulation & Training AG
Stauffacherstrasse 65
3014 Bern
Switzerland
[cid:d403f9c2-5670-42cd-8b59-c6035b237cad]
Find Thales on social media and at
www.thalesgroup.com<https://www.thalesgroup.com/>
{OPEN}
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#64841): https://lists.yoctoproject.org/g/yocto/message/64841
Mute This Topic: https://lists.yoctoproject.org/mt/111266978/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-