]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/lantec/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / board / lantec / Makefile
index dcb1907032b5df8d2f89bdcb23506a49bb1446c7..12e4aa6880eed591aade2b9cfdf2d64611b3a39f 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))
 
 #########################################################################