X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fsorcery%2FMakefile;h=e1752e3fa3ecd5551c7cc3aa2857d0e9baf6b7d9;hb=714afa64f3d81a660715b61785f1f3a3b986f852;hp=c59a3be72aaae725f37234bea253918471c177d4;hpb=64cd52efd1dc51a4a5a0cf10efe5362fab27de29;p=u-boot diff --git a/board/sorcery/Makefile b/board/sorcery/Makefile index c59a3be72a..e1752e3fa3 100644 --- a/board/sorcery/Makefile +++ b/board/sorcery/Makefile @@ -23,7 +23,7 @@ include $(TOPDIR)/config.mk -LIB = $(obj)lib$(BOARD).a +LIB = $(obj)lib$(BOARD).o COBJS := $(BOARD).o @@ -32,13 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS)) SOBJS := $(addprefix $(obj),$(SOBJS)) $(LIB): $(OBJS) - $(AR) crv $@ $(OBJS) - -clean: - rm -f $(SOBJS) $(OBJS) - -distclean: clean - rm -f $(LIB) core *.bak .depend + $(call cmd_link_o_target, $(OBJS)) #########################################################################