1# 2# Makefile for the memory technology device drivers. 3# 4 5# Core functionality. 6obj-$(CONFIG_MTD) += mtd.o 7mtd-y := mtdcore.o mtdsuper.o 8mtd-$(CONFIG_MTD_PARTITIONS) += mtdpart.o 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 14obj-$(CONFIG_MTD_AR7_PARTS) += ar7part.o 15obj-$(CONFIG_MTD_OF_PARTS) += ofpart.o 16 17# 'Users' - code which presents functionality to userspace. 18obj-$(CONFIG_MTD_CHAR) += mtdchar.o 19obj-$(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 27obj-$(CONFIG_MTD_OOPS) += mtdoops.o 28 29nftl-objs := nftlcore.o nftlmount.o 30inftl-objs := inftlcore.o inftlmount.o 31 32obj-y += chips/ maps/ devices/ nand/ onenand/ 33 34obj-$(CONFIG_MTD_UBI) += ubi/ 35