X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fesd%2Fotc570%2FMakefile;h=3e94d19784c1dc61cacb8b4184d32c3f8086fe00;hb=5053b593009a0b5645f32c9b7365c587138e1afd;hp=755c5eebdcce21abe1c3a054d71f98e0cfd41ea7;hpb=bdaef38171c9ea030bae46b798aba4f430dcac18;p=u-boot diff --git a/board/esd/otc570/Makefile b/board/esd/otc570/Makefile index 755c5eebdc..3e94d19784 100644 --- a/board/esd/otc570/Makefile +++ b/board/esd/otc570/Makefile @@ -3,7 +3,7 @@ # Wolfgang Denk, DENX Software Engineering, wd@denx.de. # # (C) Copyright 2008 -# Stelian Pop +# Stelian Pop # Lead Tech Design # # See file CREDITS for list of people who contributed to this @@ -27,7 +27,7 @@ include $(TOPDIR)/config.mk -LIB = $(obj)lib$(BOARD).a +LIB = $(obj)lib$(BOARD).o COBJS-y += $(BOARD).o COBJS-$(CONFIG_HAS_DATAFLASH) += partition.o @@ -37,13 +37,7 @@ OBJS := $(addprefix $(obj),$(COBJS-y)) SOBJS := $(addprefix $(obj),$(SOBJS)) $(LIB): $(obj).depend $(OBJS) $(SOBJS) - $(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS) - -clean: - rm -f $(SOBJS) $(OBJS) - -distclean: clean - rm -f $(LIB) core *.bak $(obj).depend + $(call cmd_link_o_target, $(OBJS) $(SOBJS)) #########################################################################