X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=drivers%2Ftwserial%2FMakefile;h=6c9a987e8f620d5c1d6a9d418aaa61bb4eda5346;hb=f8689b9eb3a7f6925cd50404a12479889188c510;hp=0b059f312bd355221b265a31f33a388c385b8360;hpb=dfc91c33957c95da34e3888dc87912d5c15a7603;p=u-boot diff --git a/drivers/twserial/Makefile b/drivers/twserial/Makefile index 0b059f312b..6c9a987e8f 100644 --- a/drivers/twserial/Makefile +++ b/drivers/twserial/Makefile @@ -23,7 +23,7 @@ include $(TOPDIR)/config.mk -LIB := $(obj)libtws.a +LIB := $(obj)libtws.o COBJS-$(CONFIG_SOFT_TWS) += soft_tws.o @@ -34,7 +34,7 @@ OBJS := $(addprefix $(obj),$(COBJS)) all: $(LIB) $(LIB): $(obj).depend $(OBJS) - $(AR) $(ARFLAGS) $@ $(OBJS) + $(call cmd_link_o_target, $(OBJS)) #########################################################################