summaryrefslogtreecommitdiff
path: root/drivers/nand/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/nand/Makefile')
-rw-r--r--drivers/nand/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/nand/Makefile b/drivers/nand/Makefile
index d707658..fb0185b 100644
--- a/drivers/nand/Makefile
+++ b/drivers/nand/Makefile
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
LIB := $(obj)libnand.a
-COBJS := nand.o nand_base.o nand_ids.o nand_ecc.o nand_bbt.o
+COBJS := nand.o nand_base.o nand_ids.o nand_ecc.o nand_bbt.o nand_util.o
SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
@@ -33,7 +33,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
all: $(LIB)
$(LIB): $(obj).depend $(OBJS)
- $(AR) crv $@ $(OBJS)
+ $(AR) $(ARFLAGS) $@ $(OBJS)
#########################################################################