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. |
David Howells | acaebfd | 2007-05-10 22:51:50 -0700 | [diff] [blame] | 6 | mtd-y := mtdcore.o mtdsuper.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | mtd-$(CONFIG_MTD_PARTITIONS) += mtdpart.o |
| 8 | obj-$(CONFIG_MTD) += $(mtd-y) |
| 9 | |
| 10 | obj-$(CONFIG_MTD_CONCAT) += mtdconcat.o |
| 11 | obj-$(CONFIG_MTD_REDBOOT_PARTS) += redboot.o |
| 12 | obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o |
| 13 | obj-$(CONFIG_MTD_AFS_PARTS) += afs.o |
| 14 | |
| 15 | # 'Users' - code which presents functionality to userspace. |
| 16 | obj-$(CONFIG_MTD_CHAR) += mtdchar.o |
Josh Boyer | f6a7ecb | 2006-11-20 20:15:36 -0600 | [diff] [blame] | 17 | obj-$(CONFIG_MTD_BLKDEVS) += mtd_blkdevs.o |
| 18 | obj-$(CONFIG_MTD_BLOCK) += mtdblock.o |
| 19 | obj-$(CONFIG_MTD_BLOCK_RO) += mtdblock_ro.o |
| 20 | obj-$(CONFIG_FTL) += ftl.o |
| 21 | obj-$(CONFIG_NFTL) += nftl.o |
| 22 | obj-$(CONFIG_INFTL) += inftl.o |
| 23 | obj-$(CONFIG_RFD_FTL) += rfd_ftl.o |
| 24 | obj-$(CONFIG_SSFDC) += ssfdc.o |
Richard Purdie | 4b23aff | 2007-05-29 13:31:42 +0100 | [diff] [blame^] | 25 | obj-$(CONFIG_MTD_OOPS) += mtdoops.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 26 | |
| 27 | nftl-objs := nftlcore.o nftlmount.o |
| 28 | inftl-objs := inftlcore.o inftlmount.o |
| 29 | |
Kyungmin Park | cd5f634 | 2005-07-11 11:41:53 +0100 | [diff] [blame] | 30 | obj-y += chips/ maps/ devices/ nand/ onenand/ |
Artem B. Bityutskiy | 801c135 | 2006-06-27 12:22:22 +0400 | [diff] [blame] | 31 | |
| 32 | obj-$(CONFIG_MTD_UBI) += ubi/ |