X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fsacsng%2FMakefile;h=d9e78bae918058c7ba3d8ee0f5c5b9cc468aadbd;hb=6b9408edd3f6af6e91bcc0eebd4aedc0aca28934;hp=9bb9c1552596edcdb715fefb99aef100da025c0a;hpb=82165a334bae49abaa4def00c71e9a08d9be83a1;p=u-boot diff --git a/board/sacsng/Makefile b/board/sacsng/Makefile index 9bb9c15525..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) $(ARFLAGS) $@ $(OBJS) - -clean: - rm -f $(SOBJS) $(OBJS) - -distclean: clean - rm -f $(LIB) core *.bak .depend + $(call cmd_link_o_target, $(OBJS)) #########################################################################