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