[yocto] populate_sdk and kernel headers

Benjamin Fleming bfleming at meteorcomm.com
Tue Jul 7 16:16:07 PDT 2015


Hello,
I want my kernel headers to be included in the SDK output when I run bitbake myimage -c populate_sdk. I expect to see the headers in my installed SDK folder such as <sdk>/sysroot/<target_mach>/usr/src/kernel; however, I don't see anything there. Also, I don't want the headers appearing on the target.

In my recipe I have added IMAGE_INSTALL += kernel-modules, and SDKIMAGE_FEATURES += kernel-devsrc.  The kernel I'm using is linux-altera-ltsi-rt from https://github.com/kraj/meta-altera/blob/master/recipes-kernel/linux/linux-altera-ltsi-rt_3.10.bb
What am I missing?

Thanks,

Ben



More information about the yocto mailing list