]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/tqc/tqm834x/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / board / tqc / tqm834x / Makefile
index 011e63136bca78d645ef74e166656b652ba66670..bce53a49e255963522b3b81e390eee40ef58a9c8 100644 (file)
@@ -25,7 +25,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS-y += $(BOARD).o
 COBJS-$(CONFIG_PCI) += pci.o
@@ -36,7 +36,7 @@ OBJS  := $(addprefix $(obj),$(COBJS))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
 $(LIB):        $(obj).depend $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 clean:
        rm -f $(SOBJS) $(OBJS)