[oe] [PATCH 05/12] no need to set LD nowadays

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Tue Feb 9 08:50:19 UTC 2010


On Mon, Feb 08, 2010 at 09:56:26PM +0000, Phil Blundell wrote:
>On Mon, 2010-02-08 at 22:14 +0100, Bernhard Reutner-Fischer wrote:
>>  # Use gcc for linking so LDFLAGS actually makes sense
>> -LD = "${CC} -nostdlib"
>> +#LD = "${CC} -nostdlib"
>>  
>
>Thanks for the patch.  When you say "nowadays", do you know which actual
>versions of busybox this is true for?  Is this definitely correct for

busybox >= 1.4.0 switched to kbuild, i.e.
make CROSS_COMPILE=alpha-linux- EXTRA_CFLAGS=-fwhatever \
EXTRA_LDFLAGS=-Wl,--warn-multiple-gp

For the usual case you'd either set CONFIG_CROSS_COMPILER_PREFIX in the
.config or pass CC down to make.

If you happen to have an odd host compiler then you want those too:
HOSTCC=ccc HOSTCFLAGS="-ieee" make ....

>all the versions that we have in the .dev tree?

It seems that the .dev tree has 1.2.1, 1.2.2, 1.3.1 still in there but
i, personally would strongly advise against using those (same for the
standalone tinylogin, but that's a different thing and not relevant
right now).
>
>Also, if that line is genuinely no longer required, you might as well
>just delete it.  There is no point in leaving commented-out cruft in
>these recipes indefinitely.

The ancient cruft versions made me leave in that comment.




More information about the Openembedded-devel mailing list