From 932394ac43e2e778e664eeb6e456fecd0fae6e59 Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Wed, 17 Aug 2005 12:55:25 +0200 Subject: Rewrite of NAND code based on what is in 2.6.12 Linux kernel Patch by Ladislav Michl, 29 Jun 2005 --- drivers/nand/Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 drivers/nand/Makefile (limited to 'drivers/nand/Makefile') diff --git a/drivers/nand/Makefile b/drivers/nand/Makefile new file mode 100644 index 0000000000..3906bf951d --- /dev/null +++ b/drivers/nand/Makefile @@ -0,0 +1,17 @@ +include $(TOPDIR)/config.mk + +LIB := libnand.a + +OBJS := nand.o nand_base.o nand_ids.o nand_ecc.o nand_bbt.o +all: $(LIB) + +$(LIB): $(OBJS) + $(AR) crv $@ $(OBJS) + +######################################################################### + +.depend: Makefile $(OBJS:.o=.c) + $(CC) -M $(CFLAGS) $(OBJS:.o=.c) > $@ + +sinclude .depend + -- cgit