Hi Ashish,
On 11/21/24 6:18 PM, emailaddress.ashish via Lists.Yoctoproject.Org wrote:
Hi Quentin ,
Thanks this suggestion worked , learnt something new .
Sorry if my question is very basic but really wanted to use this thread to
understand class-native / class-nativesdk / class-target
Can you share any pointers as to what are these classes and what they indicate.
https://docs.yoctoproject.org/ref-manual/classes.html#native
https://docs.yoctoproject.org/ref-manual/classes.html#nativesdk
The same recipe file can be used for multiple "architectures" or
"flavors". Typically, you have native (compiling for the build host) and
target (compiling for the target (MACHINE)). Since Yocto can also create
an SDK, you have another one which is nativesdk which is compiling for
the sdk build host (SDKMACHINE). There also other BBCLASSEXTEND values
to use something similar with "custom" "classes" such as
devupstream:target, multiconfig or multilib though I'm less familiar
with those. See
https://docs.yoctoproject.org/ref-manual/variables.html#term-BBCLASSEXTEND
for what this variable allows.
As to why those are called classes, I do not know but I think this has
something to do with the fact that there's a bbclass matching the name
added in BBCLASSEXTEND, but that's all I could guess here.
Cheers,
Quentin
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#64333): https://lists.yoctoproject.org/g/yocto/message/64333
Mute This Topic: https://lists.yoctoproject.org/mt/109706185/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-