2 # Makefile for the memory technology device drivers.
6 mtd-y := mtdcore.o mtdsuper.o
7 mtd-$(CONFIG_MTD_PARTITIONS) += mtdpart.o
8 obj-$(CONFIG_MTD) += $(mtd-y)
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
15 # 'Users' - code which presents functionality to userspace.
16 obj-$(CONFIG_MTD_CHAR) += mtdchar.o
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
26 nftl-objs := nftlcore.o nftlmount.o
27 inftl-objs := inftlcore.o inftlmount.o
29 obj-y += chips/ maps/ devices/ nand/ onenand/
31 obj-$(CONFIG_MTD_UBI) += ubi/