summaryrefslogtreecommitdiff
path: root/fs/ubifs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ubifs/Makefile')
-rw-r--r--fs/ubifs/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ubifs/Makefile b/fs/ubifs/Makefile
index 8328843fe12..ccffe85ee1f 100644
--- a/fs/ubifs/Makefile
+++ b/fs/ubifs/Makefile
@@ -27,7 +27,7 @@
include $(TOPDIR)/config.mk
-LIB = $(obj)libubifs.a
+LIB = $(obj)libubifs.o
COBJS-$(CONFIG_CMD_UBIFS) := ubifs.o io.o super.o sb.o master.o lpt.o
COBJS-$(CONFIG_CMD_UBIFS) += lpt_commit.o scan.o lprops.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))
#########################################################################