[yocto] nativesdk questions
Steve Scott
sscott at san.rr.com
Mon Jan 21 16:59:45 PST 2019
Hi all:
I am using the jethro (2.0.1) version of yocto.
I added a shared library (foo.so) to our native sdk build by putting
BBCLASSEXTEND = "nativesdk"
in the foo.bb recipe, then
TOOLCHAIN_HOST_TASK_append += " nativesdk-foo nativesdk-foo-dev "
in our rootfs image recipe.
This had the effect of not only including my library and its header files,
but also a huge number of other
header files in my native sdk's
.../sysroots/x86_64-pokysdk-linux/usr/include
that weren't there previously. It looks like they are the header files for
the components of the GNU C library.
Questions:
1. What is causing all these additional header files to show up in my native
sdk usr/include directory?
2. Is there some way to turn this off?
3. Is the native toolchain included in the native sdk (the cross compiler
tools
are there, but I didn't see the native ones).
4. If the native toolchain isn't in the native sdk, how do I find the native
tool chain inside the Yocto tree?
Thanks.
-steve
More information about the yocto
mailing list