diff options
author | Wolfgang Denk | 2005-08-17 12:55:25 +0200 |
---|---|---|
committer | Wolfgang Denk | 2005-08-17 12:55:25 +0200 |
commit | 932394ac43e2e778e664eeb6e456fecd0fae6e59 (patch) | |
tree | 170e594a6818d35081c9184f5b7dc06eaf0497af /drivers/nand/Makefile | |
parent | 024447b186cca55c2d803ab96b4c8f8674363b86 (diff) |
Rewrite of NAND code based on what is in 2.6.12 Linux kernel
Patch by Ladislav Michl, 29 Jun 2005
Diffstat (limited to 'drivers/nand/Makefile')
-rw-r--r-- | drivers/nand/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/nand/Makefile b/drivers/nand/Makefile new file mode 100644 index 00000000000..3906bf951d1 --- /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 + |