X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fep8248%2FMakefile;h=9079aad8566d16e67b56e0a6b800bdb8a1a9c8c5;hb=ce26582606adda28b3cd1a5d7646bbaa3a300937;hp=be7e213a9b5d311794d855554c720ec083c2051b;hpb=82165a334bae49abaa4def00c71e9a08d9be83a1;p=u-boot diff --git a/board/ep8248/Makefile b/board/ep8248/Makefile index be7e213a9b..9079aad856 100644 --- a/board/ep8248/Makefile +++ b/board/ep8248/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,13 @@ OBJS := $(addprefix $(obj),$(COBJS)) SOBJS := $(addprefix $(obj),$(SOBJS)) $(LIB): $(obj).depend $(OBJS) - $(AR) $(ARFLAGS) $@ $(OBJS) + $(call cmd_link_o_target, $(OBJS)) clean: rm -f $(SOBJS) $(OBJS) distclean: clean - rm -f $(LIB) core *.bak .depend + rm -f $(LIB) core *.bak $(obj).depend #########################################################################