]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/tqc/tqm8260/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / board / tqc / tqm8260 / Makefile
index 94ba1e94e922544ec42f2b116a2accc644a77fc2..d5b6df6868fa15fb423fa89d1ae968e04edc0703 100644 (file)
@@ -26,7 +26,7 @@ ifneq ($(OBJTREE),$(SRCTREE))
 $(shell mkdir -p $(obj)../tqm8xx/)
 endif
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS  = $(BOARD).o ../tqm8xx/load_sernum_ethaddr.o
 
@@ -35,7 +35,7 @@ OBJS  := $(addprefix $(obj),$(COBJS))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
 $(LIB):        $(obj).depend $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################