#
# Out of tree fs/jffs2/Makefile
#
# $Id: Makefile,v 1.1.1.1 2004/01/05 03:09:22 lance Exp $

ifndef CONFIG_MTD
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 -DMTD_OUT_OF_TREE -Werror

ifdef NONAND
EXTRA_CFLAGS += -DNONAND
endif
endif
include $(obj)/Makefile.common
