]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - fs/cramfs/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / fs / cramfs / Makefile
index 7b6cc0ad3e50a69f090db72616f9aa7ef36d700d..5f419329a595e644435435c1d62525169b3542c8 100644 (file)
@@ -23,7 +23,7 @@
 
 include $(TOPDIR)/config.mk
 
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)libcramfs.a
+LIB    = $(obj)libcramfs.o
 
 AOBJS  =
 COBJS-$(CONFIG_CMD_CRAMFS) := cramfs.o
 
 AOBJS  =
 COBJS-$(CONFIG_CMD_CRAMFS) := cramfs.o
@@ -37,7 +37,7 @@ OBJS  := $(addprefix $(obj),$(AOBJS) $(COBJS-y))
 all:   $(LIB) $(AOBJS)
 
 $(LIB):        $(obj).depend $(OBJS)
 all:   $(LIB) $(AOBJS)
 
 $(LIB):        $(obj).depend $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 
 #########################################################################
 
 
 #########################################################################