X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fpandora%2FMakefile;h=f57485e854da362f444d3045c65ddd63118d9b3c;hb=81316a902a2c76bc880ab49c6d157e3e9754806d;hp=b41e8a0a54caf7930f41cd7bdb17800032370037;hpb=127f9ae575991aee3e105e1448c49b5b4e254998;p=u-boot diff --git a/board/pandora/Makefile b/board/pandora/Makefile index b41e8a0a54..f57485e854 100644 --- a/board/pandora/Makefile +++ b/board/pandora/Makefile @@ -23,7 +23,7 @@ include $(TOPDIR)/config.mk -LIB = $(obj)lib$(BOARD).a +LIB = $(obj)lib$(BOARD).o COBJS := pandora.o @@ -31,13 +31,7 @@ SRCS := $(COBJS:.o=.c) OBJS := $(addprefix $(obj),$(COBJS)) $(LIB): $(obj).depend $(OBJS) - $(AR) $(ARFLAGS) $@ $(OBJS) - -clean: - rm -f $(OBJS) - -distclean: clean - rm -f $(LIB) core *.bak $(obj).depend + $(call cmd_link_o_target, $(OBJS)) #########################################################################