]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/Marvell/guruplug/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / board / Marvell / guruplug / Makefile
index 99748a7ea598585e32a68369b842456d06210b1f..ff7e9d7075c92adf9adcc305ac623c48bad3767b 100644 (file)
@@ -24,7 +24,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS  := guruplug.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))
 
 clean:
        rm -f $(SOBJS) $(OBJS)