summaryrefslogtreecommitdiffstats
path: root/fs/ext2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext2/Makefile')
-rw-r--r--fs/ext2/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext2/Makefile b/fs/ext2/Makefile
index 712e348395..3c65d252f5 100644
--- a/fs/ext2/Makefile
+++ b/fs/ext2/Makefile
@@ -27,7 +27,7 @@
include $(TOPDIR)/config.mk
-LIB = $(obj)libext2fs.a
+LIB = $(obj)libext2fs.o
AOBJS =
COBJS-$(CONFIG_CMD_EXT2) := ext2fs.o dev.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))
#########################################################################