]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/armltd/vexpress/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / board / armltd / vexpress / Makefile
index ee5c0d87ac0673c4ce1524e07854d7e50e07fbbd..49c4b81e6d70e2b4105cf5b22aa5314317db8b97 100644 (file)
@@ -23,7 +23,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS  := ca9x4_ct_vxp.o
 
@@ -31,7 +31,7 @@ SRCS  := $(COBJS:.o=.c)
 OBJS   := $(addprefix $(obj),$(COBJS))
 
 $(LIB):        $(obj).depend $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 clean:
        rm -f $(SOBJS) $(OBJS)