summaryrefslogtreecommitdiff
path: root/fs/cramfs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cramfs/Makefile')
-rw-r--r--fs/cramfs/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cramfs/Makefile b/fs/cramfs/Makefile
index 7b6cc0ad3e5..5f419329a59 100644
--- a/fs/cramfs/Makefile
+++ b/fs/cramfs/Makefile
@@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk
-LIB = $(obj)libcramfs.a
+LIB = $(obj)libcramfs.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)
- $(AR) $(ARFLAGS) $@ $(OBJS)
+ $(call cmd_link_o_target, $(OBJS))
#########################################################################