blob: 024d0e5e3e5d4f03cb0d94b3039e6f7cfbc446cc [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the memory technology device drivers.
3#
Linus Torvalds1da177e2005-04-16 15:20:36 -07004
5# Core functionality.
David Howellsacaebfd2007-05-10 22:51:50 -07006mtd-y := mtdcore.o mtdsuper.o
Linus Torvalds1da177e2005-04-16 15:20:36 -07007mtd-$(CONFIG_MTD_PARTITIONS) += mtdpart.o
8obj-$(CONFIG_MTD) += $(mtd-y)
9
10obj-$(CONFIG_MTD_CONCAT) += mtdconcat.o
11obj-$(CONFIG_MTD_REDBOOT_PARTS) += redboot.o
12obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o
13obj-$(CONFIG_MTD_AFS_PARTS) += afs.o
14
15# 'Users' - code which presents functionality to userspace.
16obj-$(CONFIG_MTD_CHAR) += mtdchar.o
Josh Boyerf6a7ecb2006-11-20 20:15:36 -060017obj-$(CONFIG_MTD_BLKDEVS) += mtd_blkdevs.o
18obj-$(CONFIG_MTD_BLOCK) += mtdblock.o
19obj-$(CONFIG_MTD_BLOCK_RO) += mtdblock_ro.o
20obj-$(CONFIG_FTL) += ftl.o
21obj-$(CONFIG_NFTL) += nftl.o
22obj-$(CONFIG_INFTL) += inftl.o
23obj-$(CONFIG_RFD_FTL) += rfd_ftl.o
24obj-$(CONFIG_SSFDC) += ssfdc.o
Richard Purdie4b23aff2007-05-29 13:31:42 +010025obj-$(CONFIG_MTD_OOPS) += mtdoops.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/
Artem B. Bityutskiy801c1352006-06-27 12:22:22 +040031
32obj-$(CONFIG_MTD_UBI) += ubi/