[yocto] Error during adding a new recipe.

Paul Eggleton paul.eggleton at linux.intel.com
Thu Jul 21 18:45:38 PDT 2016


On Thu, 21 Jul 2016 18:35:25 Khem Raj wrote:
> On Thu, Jul 21, 2016 at 6:32 PM, Paul Eggleton
> 
> <paul.eggleton at linux.intel.com> wrote:
> > On Thu, 21 Jul 2016 18:22:32 Khem Raj wrote:
> >> > On Jul 21, 2016, at 5:20 PM, Vijayakumar Badiger
> >> > <vijayakumarmb at gmail.com>
> >> > wrote:
> >> > 
> >> > The sync driver is already ported in the kernel.  I just need to get
> >> > this
> >> > compilation error fixed. I tried adding below change to kernel bb file
> >> > but still I get that same error.
> >> > 
> >> > PACKAGES =+ "kernel-headers"
> >> > FILES_kernel-headers = "${KDIR}/usr/include”
> >> 
> >> there is a different recipe for headers linux-libc-headers that also
> >> needs
> >> to be patched and then hopefully kernel build system is exporting this
> >> header for userspace automatically and you will be set.
> > 
> > I thought we weren't supposed to be encouraging modifying
> > linux-libc-headers - especially as this isn't for the libc - it's for
> > other userspace code...?
>
> Yes thats correct thats why
> I am not asking for submitting this patch upstream.

Sure, but this question comes up a lot. We ought to be telling people the 
correct mechanism for introducing extra headers such as this if it isn't to 
modify linux-libc-headers.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list