Hi Michael - the Kernel Development Manual discusses using PREEMPT_RT here: http://www.yoctoproject.org/docs/2.0/kernel-dev/kernel-dev.html#using-kernel-metadata-in-a-recipe
I hope that helps a bit On Mon, Dec 7, 2015 at 6:57 AM, Baumann, Michael <michael.baum...@vector.com> wrote: > Hello everbody, > > I am trying to use the PREEMPT-RT patch, therefore I bitbake an image with > the linux-yocto-rt 4.1.8 kernel. > The linux-yocto-rt kernel is built and runs in qemux86. > Now I try to build an application which uses the sched_setattr to set > scheduling policy SCHED_DEADLINE from <sched.h>. > My Bitbake fails to build this application because of wrong header files e.g. > > error: storage size of 'scheduling_attribut' isn't known > struct sched_attr scheduling_attribut; > and > warning: implicit declaration of function 'sched_setattr' > > in my created SDK (bitbake <image> -c populate_sdk) I have this > /usr/include/sched.h file: http://pastebin.com/gaXejv6j > I would have expect to find this file > http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-4.1/tree/include/linux/sched.h > > How do I use the correct header files from PREEMPT-RT patch in my yocto build > environment? > > Regards, > Michael > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto -- Jeff Osier-Mixon Open Source Community Architect, Intel Corporation -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto