> On Dec 22, 2016, at 12:23 AM, Richard Zhang <richard.zh...@pica8.com> wrote: > > hi all: > > I am trying to add some lib related with kernel.
Unless you are writing a kernel module, using raw kernel headers and sources is generally not a good choice. Moreover kernel does not have APIs beyond headers it exports for user space to use. So I would suggest to rethink what you are trying to do and may be you can use the exposed kernel APIs through kernel headers > When I try to include the kernel build dir to the lib, i am not sure witch > kernel build path should to be used : > build/tmp/work/genericx86_64-poky-linux/linux-yocto/4.4.3/linux-genericx86_64-standard-build/ > > > Another question: > > When I want to develop an application use yocto SDK. > After I deploy a yocto SDK toolchain that image include full target, could I > use the kernel build path for compile software? No, unless its a kernel module. > > > > Regard, > Richard Zhang > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org <mailto:yocto@yoctoproject.org> > https://lists.yoctoproject.org/listinfo/yocto > <https://lists.yoctoproject.org/listinfo/yocto>
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto