X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fcpu86%2FMakefile;h=12e4aa6880eed591aade2b9cfdf2d64611b3a39f;hb=eaeecde7bc67b473786d4adc4d923a4798f50d0e;hp=dcb1907032b5df8d2f89bdcb23506a49bb1446c7;hpb=fb883a521e04437acfe989de3e152b2e4866856b;p=u-boot diff --git a/board/cpu86/Makefile b/board/cpu86/Makefile index dcb1907032..12e4aa6880 100644 --- a/board/cpu86/Makefile +++ b/board/cpu86/Makefile @@ -23,7 +23,7 @@ include $(TOPDIR)/config.mk -LIB = $(obj)lib$(BOARD).a +LIB = $(obj)lib$(BOARD).o COBJS = $(BOARD).o flash.o @@ -32,7 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS)) SOBJS := $(addprefix $(obj),$(SOBJS)) $(LIB): $(obj).depend $(OBJS) - $(AR) $(ARFLAGS) $@ $(OBJS) + $(call cmd_link_o_target, $(OBJS)) #########################################################################