]> git.sur5r.net Git - u-boot/blobdiff - fs/jffs2/Makefile
Switch from archive libraries to partial linking
[u-boot] / fs / jffs2 / Makefile
index 7c9fb41b8d64c2698eca4c5dd683cb5eebdf6a65..6db6145d2dd1bc497a46536a0f6f39970249e7c3 100644 (file)
@@ -23,7 +23,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)libjffs2.a
+LIB    = $(obj)libjffs2.o
 
 AOBJS  =
 ifdef CONFIG_CMD_JFFS2
@@ -44,7 +44,7 @@ OBJS  := $(addprefix $(obj),$(AOBJS) $(COBJS))
 all:   $(LIB) $(AOBJS)
 
 $(LIB):        $(obj).depend $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 
 #########################################################################