X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=inline;f=board%2Flpd7a40x%2FMakefile;h=3aeb2fb1ad87ec9751ead8080a2499caca77bf3b;hb=a8d954ba266b0c91eb179a53ee1bdaae15661727;hp=0e302d961fc9e76af4356b15745236b9ca345478;hpb=d3c5e8b2f5945d93de8f23b053e9dcd033983245;p=u-boot diff --git a/board/lpd7a40x/Makefile b/board/lpd7a40x/Makefile index 0e302d961f..3aeb2fb1ad 100644 --- a/board/lpd7a40x/Makefile +++ b/board/lpd7a40x/Makefile @@ -23,7 +23,7 @@ include $(TOPDIR)/config.mk -LIB = $(obj)lib$(BOARD).a +LIB = $(obj)lib$(BOARD).o COBJS := lpd7a40x.o flash.o SOBJS := lowlevel_init.o @@ -33,13 +33,13 @@ OBJS := $(addprefix $(obj),$(COBJS)) SOBJS := $(addprefix $(obj),$(SOBJS)) $(LIB): $(obj).depend $(OBJS) $(SOBJS) - $(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS) + $(call cmd_link_o_target, $(OBJS) $(SOBJS)) clean: rm -f $(SOBJS) $(OBJS) distclean: clean - rm -f $(LIB) core *.bak .depend + rm -f $(LIB) core *.bak $(obj).depend #########################################################################