X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=Makefile;h=d92630b623fd0c7355394976d619950b078a536d;hp=95bcf453033bd5fdb30bc4a7bcae74569802bc32;hb=a48028210bd3547399ecaed7b0138d6c43a1f547;hpb=1f4c7592aae88726d6011da0d78698758d60b98e diff --git a/Makefile b/Makefile index 95bcf45..d92630b 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,29 @@ +# Main Makefile for YAFFS +# +# +# YAFFS: Yet Another Flash File System. A NAND-flash specific file system. +# +# Copyright (C) 2002-2007 Aleph One Ltd. +# for Toby Churchill Ltd and Brightstar Engineering +# +# Created by Charles Manning +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. + + ifneq ($(KERNELRELEASE),) EXTRA_CFLAGS += -DYAFFS_OUT_OF_TREE obj-m := yaffs2.o yaffs2-objs := yaffs_mtdif.o yaffs_mtdif2.o + yaffs2-objs += yaffs_mtdif1.o yaffs_packedtags1.o yaffs2-objs += yaffs_ecc.o yaffs_fs.o yaffs_guts.o - yaffs2-objs += yaffs_packedtags2.o + yaffs2-objs += yaffs_packedtags2.o yaffs_qsort.o yaffs2-objs += yaffs_tagscompat.o yaffs_tagsvalidity.o + yaffs2-objs += yaffs_checkptrw.o yaffs_nand.o else KERNELDIR ?= /lib/modules/$(shell uname -r)/build