1 #Makefile for NANDemul MTD
3 # NB this is not yet suitable for putting into the kernel tree.
4 # YAFFS: Yet another Flash File System. A NAND-flash specific file system.
6 # Copyright (C) 2002-2018 Aleph One Ltd.
8 # Created by Charles Manning <charles@aleph1.co.uk>
10 # This program is free software; you can redistribute it and/or modify
11 # it under the terms of the GNU General Public License version 2 as
12 # published by the Free Software Foundation.
14 ## Change or override KERNELDIR to your kernel
15 ## comment out USE_xxxx if you don't want these features.
17 KERNELDIR = /opt/linux-source-2.6.24
19 #CFLAGS = -D__KERNEL__ -DMODULE -I$(KERNELDIR)/include -O2 -Wall -g
20 CFLAGS = -D__KERNEL__ -DMODULE -I$(KERNELDIR)/include -O2 -Wall -g
32 gcc -c $(CFLAGS) $< -o $@