]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/utx8245/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / board / utx8245 / Makefile
index 7ad768bc430823c6817676183684135d06e329cb..33c1dcd4dc15240ca80607b68a6597af0485a401 100644 (file)
@@ -28,7 +28,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS  = $(BOARD).o flash.o
 
@@ -37,7 +37,7 @@ OBJS  := $(addprefix $(obj),$(COBJS))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
 $(LIB):        $(obj).depend $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################