Re: [yocto] how to use a kernel build path in developing libs

2016-12-22 Thread Khem Raj
> On Dec 22, 2016, at 12:23 AM, Richard Zhang 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 u

[yocto] how to use a kernel build path in developing libs

2016-12-22 Thread Richard Zhang
hi all: I am trying to add some lib related with kernel. 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