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

> On Tue, Jul 24, 2018 at 6:52 AM, Adam Lee <adam.yh....@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@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to