blob: d4e7f25b1ebb6e3686c0336f2471c206ddd56348 [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.
Satyam Sharmabec49472007-08-03 08:27:13 +05306obj-$(CONFIG_MTD) += mtd.o
Jörn Engela33eb6b2010-04-27 09:40:52 +02007mtd-y := mtdcore.o mtdsuper.o
Linus Torvalds1da177e2005-04-16 15:20:36 -07008mtd-$(CONFIG_MTD_PARTITIONS) += mtdpart.o
Grant Likelyb7b6e082010-10-30 07:35:02 +01009mtd-$(CONFIG_MTD_OF_PARTS) += ofpart.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070010
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
Matteo Crocef0797882008-03-12 02:25:06 +010015obj-$(CONFIG_MTD_AR7_PARTS) += ar7part.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070016
17# 'Users' - code which presents functionality to userspace.
18obj-$(CONFIG_MTD_CHAR) += mtdchar.o
Josh Boyerf6a7ecb2006-11-20 20:15:36 -060019obj-$(CONFIG_MTD_BLKDEVS) += mtd_blkdevs.o
20obj-$(CONFIG_MTD_BLOCK) += mtdblock.o
21obj-$(CONFIG_MTD_BLOCK_RO) += mtdblock_ro.o
22obj-$(CONFIG_FTL) += ftl.o
23obj-$(CONFIG_NFTL) += nftl.o
24obj-$(CONFIG_INFTL) += inftl.o
25obj-$(CONFIG_RFD_FTL) += rfd_ftl.o
26obj-$(CONFIG_SSFDC) += ssfdc.o
Maxim Levitsky7d17c022010-02-22 20:39:41 +020027obj-$(CONFIG_SM_FTL) += sm_ftl.o
Richard Purdie4b23aff2007-05-29 13:31:42 +010028obj-$(CONFIG_MTD_OOPS) += mtdoops.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070029
30nftl-objs := nftlcore.o nftlmount.o
31inftl-objs := inftlcore.o inftlmount.o
32
David Woodhouse572acc42009-01-05 16:24:55 +000033obj-y += chips/ lpddr/ maps/ devices/ nand/ onenand/ tests/
Artem B. Bityutskiy801c1352006-06-27 12:22:22 +040034
35obj-$(CONFIG_MTD_UBI) += ubi/