X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fti%2Fpanda%2FMakefile;h=b299e2fff8cc15ffcb717ac4377937050418c337;hb=06576b2efcf3d67797437488e90e989b8b48c9f2;hp=81e54692bb3bf70f4b6b7874e9c9921c0da7560f;hpb=c57cca255ce403fdfe77e7b040b578a29514da0b;p=u-boot diff --git a/board/ti/panda/Makefile b/board/ti/panda/Makefile index 81e54692bb..b299e2fff8 100644 --- a/board/ti/panda/Makefile +++ b/board/ti/panda/Makefile @@ -23,7 +23,7 @@ include $(TOPDIR)/config.mk -LIB = $(obj)lib$(BOARD).a +LIB = $(obj)lib$(BOARD).o COBJS := panda.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)) #########################################################################