Dear Mike Frysinger,

Am 10.11.2010 07:57, schrieb Mike Frysinger:
> On Monday, November 08, 2010 17:04:32 Sebastien Carlier wrote:

> the config.mk looks weird:
> +cmd_link_o_target = $(if $(strip $1),\
> +                      $(LD) -r -o $@ $1 ,\
> +                      rm -f $@; $(AR) rcs $@ )
> 
> why do you need the rm/ar ?

If one input ($1) is empty the linker ($(LD) -r) would complain empty
input. Therefore we buid an empty archive with $(AR) rcs

regards

Andreas Bießmann
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to