blob: c130e6261adfe6a02c1eab2409963f61900d5e03 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the memory technology device drivers.
3#
Kyungmin Parkcd5f6342005-07-11 11:41:53 +01004# $Id: Makefile.common,v 1.7 2005/07/11 10:39:27 gleixner Exp $
Linus Torvalds1da177e2005-04-16 15:20:36 -07005
6# Core functionality.
7mtd-y := mtdcore.o
8mtd-$(CONFIG_MTD_PARTITIONS) += mtdpart.o
9obj-$(CONFIG_MTD) += $(mtd-y)
10
11obj-$(CONFIG_MTD_CONCAT) += mtdconcat.o
12obj-$(CONFIG_MTD_REDBOOT_PARTS) += redboot.o
13obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o
14obj-$(CONFIG_MTD_AFS_PARTS) += afs.o
15
16# 'Users' - code which presents functionality to userspace.
17obj-$(CONFIG_MTD_CHAR) += mtdchar.o
Josh Boyerf6a7ecb2006-11-20 20:15:36 -060018obj-$(CONFIG_MTD_BLKDEVS) += mtd_blkdevs.o
19obj-$(CONFIG_MTD_BLOCK) += mtdblock.o
20obj-$(CONFIG_MTD_BLOCK_RO) += mtdblock_ro.o
21obj-$(CONFIG_FTL) += ftl.o
22obj-$(CONFIG_NFTL) += nftl.o
23obj-$(CONFIG_INFTL) += inftl.o
24obj-$(CONFIG_RFD_FTL) += rfd_ftl.o
25obj-$(CONFIG_SSFDC) += ssfdc.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070026
27nftl-objs := nftlcore.o nftlmount.o
28inftl-objs := inftlcore.o inftlmount.o
29
Kyungmin Parkcd5f6342005-07-11 11:41:53 +010030obj-y += chips/ maps/ devices/ nand/ onenand/