]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/ids8247/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / board / ids8247 / Makefile
index d4237930cb55b7b7893cac0a4bc42a835277545d..032e0a7d183d17e5f8deb65574492354b1dfddbd 100644 (file)
@@ -26,7 +26,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS  = $(BOARD).o flash.o
 
@@ -35,7 +35,7 @@ OBJS  := $(addprefix $(obj),$(COBJS))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
 $(LIB):        $(obj).depend $(OBJS)
-       $(AR) crv $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################