]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/dbau1x00/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / board / dbau1x00 / Makefile
index afe02c27c6ff9baecff2c09aed27241fb42cbb97..f1594a236812d9247a4911e67a34fb13a87996f4 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
 SOBJS  = lowlevel_init.o
@@ -33,7 +33,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))
 
 #########################################################################