[yocto] populate_sdk and kernel headers

Andre McCurdy armccurdy at gmail.com
Tue Jul 7 17:53:47 PDT 2015


On Tue, Jul 7, 2015 at 4:16 PM, Benjamin Fleming
<bfleming at meteorcomm.com> wrote:
> 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?

Try adding kernel-devsrc to IMAGE_INSTALL rather than SDKIMAGE_FEATURES.

> Thanks,
>
> Ben
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



More information about the yocto mailing list