]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/ti/tnetv107xevm/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / board / ti / tnetv107xevm / Makefile
index 2446c2ae12ef522797580e6c42a7d7a97b0640b3..03238f0afb308c3055ee488cbd5f68aac2c3be36 100644 (file)
@@ -19,7 +19,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS          += sdb_board.o
 
@@ -32,7 +32,7 @@ SOBJS := $(addprefix $(obj),$(SOBJS))
 all: $(LIB)
 
 $(LIB):        $(obj).depend $(OBJS) $(SOBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
+       $(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
 clean:
        rm -f $(SOBJS) $(OBJS)