[yocto] How do I correctly export uapi kernel headers to SDK ?

Christian Charreyre christian.charreyre at ciose.fr
Mon Nov 14 01:51:00 PST 2016


Le 10/11/2016 à 16:42, Bruce Ashfield a écrit :
> On 2016-11-10 05:35 AM, Christian Charreyre wrote:
>> Hello all,
>>
>> I'm using yocto krogoth and I'm developing a kernel driver for linux
>> 4.4. This kernel driver implements many ioctl so I've created a new
>> header for them in include/uapi.
>>
>> Now I would like to make it available in the SDK generated by yocto, so
>> that developer can use these definitions without duplicating the header
>> userland (with risks that duplicated header don't stay synced).
>>
>> I've seen a solution through this thread
>> https://lists.yoctoproject.org/pipermail/yocto/2014-April/019261.html,
>> but I was wondering if in the new 2.1 version of krogoth things have
>> evolved or if the correct way to do it is still to export in a new
>> include location.
>
> The options are still the same in krogoth. I still have an
> bugzilla to see if there's any additional streamlining that can be done
> in this area, but for now, what was discussed in that thread are still
> the viable options.
>
> Bruce
Thanks Bruce,

I will use this solution, but I think it would be valuable to find a
better solution in future realases (depending on resources and
priorities of course...), because developping additional drivers
exporting header to user land is quite common when you develop a BSP.

Regards.
>
>>
>> Thanks for answers.
>>
>> Regards.
>>
>> -- 
>> Christian Charreyre
>> GnuPG:4096R/8265F383
>> Email : christian.charreyre at ciose.fr
>> <mailto:christian.charreyre at ciose.fr>
>> Site : www.ciose.fr <http://www.ciose.fr>
>> Phone : 33(0)4 95 05 19 41
>> Address : 11 Avenue Marigny 13014 Marseille
>> <https://www.facebook.com/ciosystemb>
>> <https://www.twitter.com/CIO_SysEmb>
>> <https://plus.google.com/100220376990055787299/posts?prsrc=3>
>> <https://www.linkedin.com/company/cio-informatique-industrielle>
>> <http://www.ciose.fr/actualites?format=feed&type=rss>
>>
>>
>>
>
>


-- 
Christian Charreyre
GnuPG:4096R/8265F383
Email : christian.charreyre at ciose.fr <mailto:christian.charreyre at ciose.fr>
Site : www.ciose.fr <http://www.ciose.fr>
Phone : 33(0)4 95 05 19 41
Address : 11 Avenue Marigny 13014 Marseille
<https://www.facebook.com/ciosystemb>
<https://www.twitter.com/CIO_SysEmb>
<https://plus.google.com/100220376990055787299/posts?prsrc=3>
<https://www.linkedin.com/company/cio-informatique-industrielle>
<http://www.ciose.fr/actualites?format=feed&type=rss>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20161114/7040f554/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logoCIO-2016.png
Type: image/png
Size: 6741 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20161114/7040f554/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Facebook-2016.png
Type: image/png
Size: 332 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20161114/7040f554/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Twitter-2016.png
Type: image/png
Size: 386 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20161114/7040f554/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Google-2016.png
Type: image/png
Size: 440 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20161114/7040f554/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Linkedin-2016.png
Type: image/png
Size: 355 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20161114/7040f554/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Rss-2016.png
Type: image/png
Size: 336 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20161114/7040f554/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: christian_charreyre.vcf
Type: text/x-vcard
Size: 273 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20161114/7040f554/attachment.vcf>


More information about the yocto mailing list