[yocto] Over-riding insane LDFLAGS check

Chris Larson clarson at kergoth.com
Sun Aug 12 09:20:08 PDT 2012


On Sun, Aug 12, 2012 at 9:17 AM, Elvis Dowson <elvis.dowson at gmail.com> wrote:
>
> On Aug 12, 2012, at 8:14 PM, Chris Larson wrote:
>
>> On Sun, Aug 12, 2012 at 4:45 AM, Elvis Dowson <elvis.dowson at gmail.com> wrote:
>>>       Is there anyway I can over-ride the insane LDFLAGS check for
>>> GNU_HASH?
>>
>> Remove it from ERROR_QA and (optionally) add it to WARN_QA instead. If
>> you're using an external toolchain, see what I did at
>> https://github.com/MentorEmbedded/meta-sourcery/blob/master/conf/distro/include/tcmode-external-sourcery.inc#L91-98
>> for this one.
>
> How would I go about hooking, in a single location, so that if I run gcc-4.5, it over-rides it completely, but if I specify gcc-4.6 or 4.7 it doesn't get over-ridden?

Use INSANE_SKIP. Grep the metadata for examples. Specifically,
INSANE_SKIP_<packagename> = "ldflags".
-- 
Christopher Larson



More information about the yocto mailing list