mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-20 10:44:23 +08:00
2f82ce1eb6
This patch replaces the current CONFIG_JFFS2_FS_NAND, CONFIG_JFFS2_FS_NOR_ECC and CONFIG_JFFS2_FS_DATAFLASH with a single configuration option - CONFIG_JFFS2_FS_WRITEBUFFER. The only functional change of this patch is that the slower div/mod calculations for SECTOR_ADDR(), PAGE_DIV() and PAGE_MOD() are now always used when CONFIG_JFFS2_FS_WRITEBUFFER is enabled. Signed-off-by: Andrew Victor <andrew@sanpeople.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
18 lines
555 B
Makefile
18 lines
555 B
Makefile
#
|
|
# Makefile for the Linux Journalling Flash File System v2 (JFFS2)
|
|
#
|
|
# $Id: Makefile.common,v 1.9 2005/02/09 09:23:53 pavlov Exp $
|
|
#
|
|
|
|
obj-$(CONFIG_JFFS2_FS) += jffs2.o
|
|
|
|
jffs2-y := compr.o dir.o file.o ioctl.o nodelist.o malloc.o
|
|
jffs2-y += read.o nodemgmt.o readinode.o write.o scan.o gc.o
|
|
jffs2-y += symlink.o build.o erase.o background.o fs.o writev.o
|
|
jffs2-y += super.o
|
|
|
|
jffs2-$(CONFIG_JFFS2_FS_WRITEBUFFER) += wbuf.o
|
|
jffs2-$(CONFIG_JFFS2_RUBIN) += compr_rubin.o
|
|
jffs2-$(CONFIG_JFFS2_RTIME) += compr_rtime.o
|
|
jffs2-$(CONFIG_JFFS2_ZLIB) += compr_zlib.o
|