]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - drivers/mtd/Makefile
mtd: Fix MTD_OF_PARTS for all arch and minor tidy of MTD_PARTITIONS
[mirror_ubuntu-zesty-kernel.git] / drivers / mtd / Makefile
CommitLineData
1da177e4
LT
1#
2# Makefile for the memory technology device drivers.
3#
1da177e4
LT
4
5# Core functionality.
bec49477 6obj-$(CONFIG_MTD) += mtd.o
a33eb6b9 7mtd-y := mtdcore.o mtdsuper.o
1da177e4 8mtd-$(CONFIG_MTD_PARTITIONS) += mtdpart.o
b7b6e08f 9mtd-$(CONFIG_MTD_OF_PARTS) += ofpart.o
1da177e4
LT
10
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
f0797881 15obj-$(CONFIG_MTD_AR7_PARTS) += ar7part.o
1da177e4
LT
16
17# 'Users' - code which presents functionality to userspace.
18obj-$(CONFIG_MTD_CHAR) += mtdchar.o
f6a7ecb1
JB
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
7d17c02a 27obj-$(CONFIG_SM_FTL) += sm_ftl.o
4b23aff0 28obj-$(CONFIG_MTD_OOPS) += mtdoops.o
1da177e4
LT
29
30nftl-objs := nftlcore.o nftlmount.o
31inftl-objs := inftlcore.o inftlmount.o
32
572acc41 33obj-y += chips/ lpddr/ maps/ devices/ nand/ onenand/ tests/
801c135c
AB
34
35obj-$(CONFIG_MTD_UBI) += ubi/