[oe] [RFC] Badness with -ibad, a replacement for zecke-no-host-includes.patch.

Graham Gower graham.gower at gmail.com
Sat Jul 10 06:57:37 UTC 2010


On 9 July 2010 02:51, Denys Dmytriyenko <denis at denix.org> wrote:
> On Thu, Jul 08, 2010 at 03:09:01PM +0930, Graham Gower wrote:
>> This patch introduces a new command line parameter to gcc (at
>> Zecke's suggestion), -ibad, which may be used to specify
>> blacklisted include prefixes. E.g.
>>
>> grg at eye7:/tmp$ ~/oe2/tmp/cross/mipsel/bin/mipsel-angstrom-linux-gcc -c test.c -ibad /usr/include -I /usr/include
>> CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include
>>
>> This makes it much easier to add new blacklisted include paths,
>> with a trivial edit to bitbake.conf. No additional paths have
>> been added yet, but my motivation for this was to add
>> /usr/X11R6/include and /usr/X11/include.
>>
>> Please note that the bitbake.conf change will break builds with
>> versions of gcc that do not accept this -ibad parameter. I have
>
> Does it mean any external toolchain will be broken or require changes to the
> bitbake.conf?

Yes.




More information about the Openembedded-devel mailing list