]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/a3000/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / board / a3000 / Makefile
index 43c27e9babaab545b295c3a5b2ea9c78336e4c86..12e4aa6880eed591aade2b9cfdf2d64611b3a39f 100644 (file)
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
-COBJS  = $(BOARD).o flash.o
+COBJS  = $(BOARD).o flash.o
 
 SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS   := $(addprefix $(obj),$(COBJS))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
 $(LIB):        $(obj).depend $(OBJS)
-       $(AR) crv $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################