summaryrefslogtreecommitdiff
path: root/drivers/nand/Makefile
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2005-08-17 12:57:49 +0200
committerWolfgang Denk <wd@pollux.denx.de>2005-08-17 12:57:49 +0200
commit05b47540aae996908e48e10a5ff8b69862aadef3 (patch)
treefb2a07d685cdcc239a057edf932a090c073535f5 /drivers/nand/Makefile
parent98128f389cc318dbd1d597cf8d2d09902cddcb4b (diff)
parent932394ac43e2e778e664eeb6e456fecd0fae6e59 (diff)
downloadu-boot-imx-05b47540aae996908e48e10a5ff8b69862aadef3.zip
u-boot-imx-05b47540aae996908e48e10a5ff8b69862aadef3.tar.gz
u-boot-imx-05b47540aae996908e48e10a5ff8b69862aadef3.tar.bz2
Merge with testing-NAND (Rewrite of NAND code)
Diffstat (limited to 'drivers/nand/Makefile')
-rw-r--r--drivers/nand/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/nand/Makefile b/drivers/nand/Makefile
new file mode 100644
index 0000000..3906bf9
--- /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
+