AnsweredAssumed Answered

Task/recipe to include kernel source in SDK?

Question asked by chrgrff1 on Apr 13, 2015
Latest reply on Apr 15, 2015 by chrgrff1

Good morning,


I have a program (user space, not a kernel module) which needs to include <linux/mxcfb.h>, but the kernel headers are not installed with the SDK when I run "bitbake -c populate_sdk my_image". Is there a task or bbclass or something I'm missing which will install the kernel headers so the SDK can find them?


Only the sanitized libc headers are in /usr/include.


My tmp/sysroot directory *does* have kernel source installed at /usr/src/kernel, which is fine, but they're not getting picked up in the SDK sysroot.


I can always add an install_append step but that's a little kludgy when it seems like there should be a built-in way to do this.