mtd/fs/jffs2 Makefile.24,NONE,1.1

dmarlin at infradead.org dmarlin at infradead.org
Mon Aug 9 14:46:07 EDT 2004


Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv8694/fs/jffs2

Added Files:
	Makefile.24 
Log Message:
Updated to allow a build from a 2.4.24 kernel tree.


--- NEW FILE Makefile.24 ---
#
# fs/jffs2/Makefile.24
#
# $Id: Makefile,v 1.43 2003/10/06 12:54:49 dwmw2 Exp $

ifdef OUT_OF_TREE_BUILD
include $(mtd)/defconfig

# This must be first in the include path, so it goes in $(CC) rather
# then $(EXTRA_CFLAGS)

CC += -I$(mtd)/../../include
EXTRA_CFLAGS := -g -Werror

ifndef CONFIG_MTD
EXTRA_CFLAGS += -DMTD_OUT_OF_TREE
endif

ifdef NONAND
EXTRA_CFLAGS += -DNONAND
endif
endif

obj-$(CONFIG_JFFS2_FS) += jffs2.o

JFFS2_OBJS := compr.o dir.o file.o ioctl.o nodelist.o malloc.o
JFFS2_OBJS += read.o nodemgmt.o readinode.o write.o scan.o gc.o
JFFS2_OBJS += symlink-v24.o build.o erase.o background.o fs.o writev.o

LINUX_OBJS += super-v24.o crc32.o rbtree.o

NAND_OBJS-$(CONFIG_JFFS2_FS_NAND) += wbuf.o

COMPR_OBJS-$(CONFIG_JFFS2_RUBIN)  += compr_rubin.o
COMPR_OBJS-$(CONFIG_JFFS2_RTIME)  += compr_rtime.o
COMPR_OBJS-$(CONFIG_JFFS2_ZLIB)   += compr_zlib.o

obj-y := $(COMPR_OBJS-y) $(JFFS2_OBJS) $(LINUX_OBJS) $(NAND_OBJS-y)
O_TARGET := jffs2.o

include $(TOPDIR)/Rules.make






More information about the linux-mtd-cvs mailing list