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