Re: [yocto] cannot compile kernel module - headers missing

2015-02-23 Thread Bruce Ashfield
On 2015-02-23 10:02 AM, Jens Rapp wrote: hi, i have a simple hello world kernel module and i cannot compile it. linux headers are missing i tried to set -I $(OECORE_TARGET_SYSROOT)usr/src/kernel/include/ but there seems to be much more missing.. What release are you using ? The kernel sources

[yocto] cannot compile kernel module - headers missing

2015-02-23 Thread Jens Rapp
hi, i have a simple hello world kernel module and i cannot compile it. linux headers are missing i tried to set -I $(OECORE_TARGET_SYSROOT)usr/src/kernel/include/ but there seems to be much more missing.. is there any way to do this easier? here's what i have: module.c - #include