]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/digsy_mtc/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / board / digsy_mtc / Makefile
index 0bededca19deeccc585ba895cb2c0a746af019c7..a40076c870ae0a4c18faf0eb61c11cf110f0a50f 100644 (file)
@@ -5,7 +5,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS  := $(BOARD).o cmd_mtc.o
 
@@ -14,7 +14,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)