
31 Oct
2012
31 Oct
'12
9:52 p.m.
Dear Andreas Bießmann,
[...]
-# Always use GNU ld -LD = $(shell if $(CROSS_COMPILE)ld.bfd -v > /dev/null 2>&1; \
then echo "$(CROSS_COMPILE)ld.bfd"; else echo
"$(CROSS_COMPILE)ld";
fi;) +# Link with GCC +LD = $(CROSS_COMPILE)gcc
with this change we should also remove LD_VERSION_STRING from $(VERSION_FILE). Currently it will call 'gcc -v' which will print compile switches to stderr.
Compiled and runtime tested on avr32 atngw100mkii, on first sight it seems sane.
Good catch. I added it to u-boot-testing/dm-gcclink branch already, but will repost after I get a bit more feedback.
Thanks!
Best regards, Marek Vasut