[yocto] How to add libudev.h

Burton, Ross ross.burton at intel.com
Thu Nov 3 06:03:04 PDT 2016

On 3 November 2016 at 12:55, idealsim <idealsim at laposte.net> wrote:

> Thanks for your answer.
> It seems that i didn't have DEPENDS = "udev".
> How i can add it ?
>         - to my local.conf
>         or
>         - to myImage.bb
> Regards,

If you want to do compiling inside the image, the easy way is to just add
dev-pkgs to IMAGE_FEATURES for the image recipe.  This gives you all of the
headers for everything installed, which will include the udev headers
assuming that your image has udev.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20161103/6172ceef/attachment.html>

More information about the yocto mailing list