X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=board%2Fep8260%2FMakefile;h=d9fa4840ee1e00b551ef78651b07bbe7caabdc2b;hb=b27673ccbd3d5435319b5c09c3e7061f559f925d;hp=8744359660c86c9c8a032fa8dd8e31894a54c94a;hpb=504b5cd0e2e7b58c6265fb684a850a158c85e1b2;p=karo-tx-uboot.git diff --git a/board/ep8260/Makefile b/board/ep8260/Makefile index 8744359660..d9fa4840ee 100644 --- a/board/ep8260/Makefile +++ b/board/ep8260/Makefile @@ -23,7 +23,7 @@ include $(TOPDIR)/config.mk -LIB = $(obj)lib$(BOARD).a +LIB = $(obj)lib$(BOARD).o COBJS = $(BOARD).o flash.o mii_phy.o @@ -32,13 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS)) SOBJS := $(addprefix $(obj),$(SOBJS)) $(LIB): $(obj).depend $(OBJS) - $(AR) crv $@ $(OBJS) - -clean: - rm -f $(SOBJS) $(OBJS) - -distclean: clean - rm -f $(LIB) core *.bak .depend + $(call cmd_link_o_target, $(OBJS)) #########################################################################