[OE-core] Setting include path in a recipe

Adam Lee adam.yh.lee at gmail.com
Mon Jul 30 14:13:18 UTC 2018


Thank you. Both works well!

On Wed, Jul 25, 2018 at 12:34 PM Khem Raj <raj.khem at gmail.com> wrote:

> 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/20180730/6b8372aa/attachment-0002.html>


More information about the Openembedded-core mailing list