X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fsacsng%2FMakefile;h=d9e78bae918058c7ba3d8ee0f5c5b9cc468aadbd;hb=6b9408edd3f6af6e91bcc0eebd4aedc0aca28934;hp=2dff242aef137e8fe98e85e3b64f600c64e45146;hpb=4bbd4537835f72b5c46ca6efb38143e431b3dbd5;p=u-boot diff --git a/board/sacsng/Makefile b/board/sacsng/Makefile index 2dff242aef..d9e78bae91 100644 --- a/board/sacsng/Makefile +++ b/board/sacsng/Makefile @@ -23,7 +23,7 @@ include $(TOPDIR)/config.mk -LIB = $(obj)lib$(BOARD).a +LIB = $(obj)lib$(BOARD).o COBJS := sacsng.o flash.o clkinit.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)) #########################################################################