]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/Marvell/db64360/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / board / Marvell / db64360 / Makefile
index 641a0ab8603486dde51c82ae20d48a589f1ffce7..036d255fe174e8d699b82dae1394adbeaa849b19 100644 (file)
@@ -29,7 +29,7 @@ ifneq ($(OBJTREE),$(SRCTREE))
 $(shell mkdir -p $(obj)../common)
 endif
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 SOBJS  = ../common/misc.o
 
@@ -42,7 +42,7 @@ OBJS  := $(addprefix $(obj),$(COBJS))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
 $(LIB):        $(obj).depend $(OBJS) $(SOBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
+       $(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
 #########################################################################