changeset 53:19ee75abdcad

Ooops. missed this one: Needed to change MTD_ defines to match changes in the source code.
author marty
date Sun, 31 Jul 2005 10:26:35 +0100
parents 9fff486c54cb
children 980f5cb8308c
files Makefile
diffstat 1 files changed, 16 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile
+++ b/Makefile
@@ -30,29 +30,30 @@ LD=$(MAKETOOLS)ld
 # Comment out the stuff you don't want.
 #
 
+# CONFIG_YAFFS_YAFFS1
+# This adds the yaffs file system support for working with a
+# a 512 byte / page NAND mtd.
+
+USE_MTD = -DCONFIG_YAFFS_YAFFS1
+
+# CONFIG_YAFFS_YAFFS2
+# This adds the yaffs2 file system support for working with a 
+# 2048 or larger byte / page NAND mtd.
+
+USE_MTD_2 = -DCONFIG_YAFFS_YAFFS2
+
+
 # CONFIG_YAFFS_RAM_ENABLED.
 # This adds the yaffsram file system support. Nice for testing on x86, but uses 2MB of RAM.
 # Don't enable for NAND-based targets.
 
-USE_RAM_FOR_TEST = -DCONFIG_YAFFS_RAM_ENABLED
-
-
-# CONFIG_YAFFS_MTD_ENABLED.
-# This adds the yaffs file system support for working with a NAND mtd.
-
-USE_MTD = -DCONFIG_YAFFS_MTD_ENABLED
+# USE_RAM_FOR_TEST = -DCONFIG_YAFFS_RAM_ENABLED
 
 # CONFIG_YAFFS2_RAM_ENABLED.
 # This adds the yaffs2ram file system support. Nice for testing on x86, but uses 2MB of RAM.
 # Don't enable for NAND-based targets.
 
-USE_RAM_FOR_TEST_2 = -DCONFIG_YAFFS2_RAM_ENABLED
-
-
-# CONFIG_YAFFS2_MTD_ENABLED.
-# This adds the yaffs2 file system support for working with a NAND mtd.
-
-USE_MTD_2 = -DCONFIG_YAFFS2_MTD_ENABLED
+# USE_RAM_FOR_TEST_2 = -DCONFIG_YAFFS2_RAM_ENABLED
 
 # CONFIG_YAFFS_USE_OLD_MTD
 # Enable this to use the old MTD stuff that did not have yaffs support.
@@ -116,7 +117,7 @@ YAFFS_CONFIGS = $(WIERD_COMPILE_CONFIGS)
                 $(ENABLE_SHORT_NAMES_IN_RAM) $(USE_NANDECC) $(USE_OLD_MTD) $(USE_WRONGECC)
 
 
-YAFFS2_CONFIGS = $(YAFFS_CONFIGS) -DCONFIG_YAFFS_YAFFS2
+YAFFS2_CONFIGS = $(YAFFS_CONFIGS)
 
 CFLAGS = -D__KERNEL__ -DMODULE $(YAFFS2_CONFIGS)  -I$(KERNELDIR)/include -O2 -g -Wall