[yocto] Error during adding a new recipe.

Khem Raj raj.khem at gmail.com
Thu Jul 21 20:20:33 PDT 2016


> On Jul 21, 2016, at 6:45 PM, Paul Eggleton <paul.eggleton at linux.intel.com> wrote:
> 
> 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.

Thats possible for external kernel modules. This is a kernel patch. There is no other elegant way
of solving this. They could write another recipe just to stage this header. but thats equally ugly.

> 
> Cheers,
> Paul
> 
> --
> 
> Paul Eggleton
> Intel Open Source Technology Centre

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160721/67914af5/attachment.pgp>


More information about the yocto mailing list