]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/tqc/tqm8xx/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / board / tqc / tqm8xx / Makefile
index 280982dd412aacc56dc7c71739858c22f21c0cf2..888cf248105920eae5e4d51a0dfb90d5bf04ccb1 100644 (file)
@@ -23,7 +23,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS  = $(BOARD).o load_sernum_ethaddr.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))
 
 #########################################################################