[OE-core] Setting include path in a recipe

Khem Raj raj.khem at gmail.com
Wed Jul 25 16:34:41 UTC 2018


On Tue, Jul 24, 2018 at 10:51 AM Andre McCurdy <armccurdy at gmail.com> wrote:

> On Tue, Jul 24, 2018 at 6:52 AM, Adam Lee <adam.yh.lee at gmail.com> wrote:
> >
> > How do I defined a custom include path for an autotools recipe?
> >
> > This may as well be explained somewhere in the reference manual, but I
> can't
> > seem to find it.
>
> Assuming you want to add a custom directory which is within sysroot:
>
> CPPFLAGS += "-I=/usr/include/specialheaders"
> --


-I= is gcc specific using STAGING_INCDIR would be portable

>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20180725/d61a3cb3/attachment-0002.html>


More information about the Openembedded-core mailing list