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