Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the memory technology device drivers. |
| 3 | # |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | |
| 5 | # Core functionality. |
Satyam Sharma | bec4947 | 2007-08-03 08:27:13 +0530 | [diff] [blame] | 6 | obj-$(CONFIG_MTD) += mtd.o |
Artem Bityutskiy | 660685d | 2013-03-14 13:27:40 +0200 | [diff] [blame] | 7 | mtd-y := mtdcore.o mtdsuper.o mtdconcat.o mtdpart.o mtdchar.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | |
Dmitry Eremin-Solenikov | d6137ba | 2011-06-27 01:02:59 +0400 | [diff] [blame] | 9 | obj-$(CONFIG_MTD_OF_PARTS) += ofpart.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | obj-$(CONFIG_MTD_REDBOOT_PARTS) += redboot.o |
| 11 | obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o |
| 12 | obj-$(CONFIG_MTD_AFS_PARTS) += afs.o |
Matteo Croce | f079788 | 2008-03-12 02:25:06 +0100 | [diff] [blame] | 13 | obj-$(CONFIG_MTD_AR7_PARTS) += ar7part.o |
Jonas Gorski | 70a3c16 | 2011-12-05 16:08:08 +0100 | [diff] [blame] | 14 | obj-$(CONFIG_MTD_BCM63XX_PARTS) += bcm63xxpart.o |
Rafał Miłecki | 3cf7f13 | 2012-08-30 07:41:16 +0200 | [diff] [blame] | 15 | obj-$(CONFIG_MTD_BCM47XX_PARTS) += bcm47xxpart.o |
Rafał Miłecki | 99352af | 2017-06-21 08:26:47 +0200 | [diff] [blame^] | 16 | obj-y += parsers/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | |
| 18 | # 'Users' - code which presents functionality to userspace. |
Josh Boyer | f6a7ecb | 2006-11-20 20:15:36 -0600 | [diff] [blame] | 19 | obj-$(CONFIG_MTD_BLKDEVS) += mtd_blkdevs.o |
| 20 | obj-$(CONFIG_MTD_BLOCK) += mtdblock.o |
| 21 | obj-$(CONFIG_MTD_BLOCK_RO) += mtdblock_ro.o |
| 22 | obj-$(CONFIG_FTL) += ftl.o |
| 23 | obj-$(CONFIG_NFTL) += nftl.o |
| 24 | obj-$(CONFIG_INFTL) += inftl.o |
| 25 | obj-$(CONFIG_RFD_FTL) += rfd_ftl.o |
| 26 | obj-$(CONFIG_SSFDC) += ssfdc.o |
Maxim Levitsky | 7d17c02 | 2010-02-22 20:39:41 +0200 | [diff] [blame] | 27 | obj-$(CONFIG_SM_FTL) += sm_ftl.o |
Richard Purdie | 4b23aff | 2007-05-29 13:31:42 +0100 | [diff] [blame] | 28 | obj-$(CONFIG_MTD_OOPS) += mtdoops.o |
Jarkko Lavinen | a321590 | 2011-02-14 16:16:11 +0200 | [diff] [blame] | 29 | obj-$(CONFIG_MTD_SWAP) += mtdswap.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 30 | |
| 31 | nftl-objs := nftlcore.o nftlmount.o |
| 32 | inftl-objs := inftlcore.o inftlmount.o |
| 33 | |
David Woodhouse | 572acc4 | 2009-01-05 16:24:55 +0000 | [diff] [blame] | 34 | obj-y += chips/ lpddr/ maps/ devices/ nand/ onenand/ tests/ |
Artem B. Bityutskiy | 801c135 | 2006-06-27 12:22:22 +0400 | [diff] [blame] | 35 | |
Brian Norris | e43b206 | 2014-04-08 20:30:25 -0700 | [diff] [blame] | 36 | obj-$(CONFIG_MTD_SPI_NOR) += spi-nor/ |
Artem B. Bityutskiy | 801c135 | 2006-06-27 12:22:22 +0400 | [diff] [blame] | 37 | obj-$(CONFIG_MTD_UBI) += ubi/ |