*** empty log message ***
[yaffs/.git] / Makefile
index c8731295c701aa1daadccf9be291ff02c49a3775..ceea8f7c1b58a4f439bf9296120ba38b48a79afb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -18,9 +18,9 @@
 KERNELDIR = /usr/src/kernel-headers-2.4.18
 USE_RAM_FOR_TEST = -DYAFFS_RAM_ENABLED
 USE_MTD = -DYAFFS_MTD_ENABLED
+YAFFS_CONFIGS = -DCONFIG_YAFFS_USE_GENERIC_RW
 
-
-CFLAGS = -D__KERNEL__ -DMODULE $(USE_RAM_FOR_TEST) $(USE_MTD)  -I$(KERNELDIR)/include -O2 -Wall
+CFLAGS = -D__KERNEL__ -DMODULE $(USE_RAM_FOR_TEST) $(USE_MTD) $(YAFFS_CONFIGS)  -I$(KERNELDIR)/include -O2 -Wall
 
 
 OBJS = yaffs_fs.o yaffs_guts.o yaffs_ramem.o yaffs_mtdif.o nand_ecc.o