X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fpleb2%2FMakefile;h=9b076f54ca0c8b3b00fbaa3dfccd7ebd35c3ca46;hb=310ae55efe14aa7923b16c718cbdb22ec364b18b;hp=cb0c3d7cb9092bfbc1b58e81c6a06587ba12c27e;hpb=d963e84c92a63b4e6c4f2f80482a5ecbe9b24fe0;p=u-boot diff --git a/board/pleb2/Makefile b/board/pleb2/Makefile index cb0c3d7cb9..9b076f54ca 100644 --- a/board/pleb2/Makefile +++ b/board/pleb2/Makefile @@ -24,7 +24,7 @@ include $(TOPDIR)/config.mk -LIB = $(obj)lib$(BOARD).a +LIB = $(obj)lib$(BOARD).o COBJS := pleb2.o flash.o @@ -32,7 +32,7 @@ SRCS := $(COBJS:.o=.c) OBJS := $(addprefix $(obj),$(COBJS)) $(LIB): $(obj).depend $(OBJS) - $(AR) $(ARFLAGS) $@ $(OBJS) + $(call cmd_link_o_target, $(OBJS)) clean: rm -f $(OBJS)