]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - fs/reiserfs/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / fs / reiserfs / Makefile
index 9cef8ee91076723a71b86089a4c60c40fb031952..495759c8ca04ccbfef1ed8fece3b7b95c9921da2 100644 (file)
@@ -27,7 +27,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)libreiserfs.a
+LIB    = $(obj)libreiserfs.o
 
 AOBJS  =
 COBJS-$(CONFIG_CMD_REISER) := reiserfs.o dev.o mode_string.o
@@ -40,7 +40,7 @@ OBJS  := $(addprefix $(obj),$(AOBJS) $(COBJS-y))
 all:   $(LIB) $(AOBJS)
 
 $(LIB):        $(obj).depend $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################