Makefile 1.1 KB
Newer Older
L
Linus Torvalds 已提交
1 2 3 4 5
#
# Makefile for the memory technology device drivers.
#

# Core functionality.
S
Satyam Sharma 已提交
6
obj-$(CONFIG_MTD)		+= mtd.o
7
mtd-y				:= mtdcore.o mtdsuper.o mtdconcat.o mtdpart.o mtdchar.o
L
Linus Torvalds 已提交
8

9
obj-$(CONFIG_MTD_OF_PARTS)	+= ofpart.o
L
Linus Torvalds 已提交
10 11 12
obj-$(CONFIG_MTD_REDBOOT_PARTS) += redboot.o
obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o
obj-$(CONFIG_MTD_AFS_PARTS)	+= afs.o
M
Matteo Croce 已提交
13
obj-$(CONFIG_MTD_AR7_PARTS)	+= ar7part.o
14
obj-$(CONFIG_MTD_BCM63XX_PARTS)	+= bcm63xxpart.o
15
obj-$(CONFIG_MTD_BCM47XX_PARTS)	+= bcm47xxpart.o
L
Linus Torvalds 已提交
16 17

# 'Users' - code which presents functionality to userspace.
J
Josh Boyer 已提交
18 19 20 21 22 23 24 25
obj-$(CONFIG_MTD_BLKDEVS)	+= mtd_blkdevs.o
obj-$(CONFIG_MTD_BLOCK)		+= mtdblock.o
obj-$(CONFIG_MTD_BLOCK_RO)	+= mtdblock_ro.o
obj-$(CONFIG_FTL)		+= ftl.o
obj-$(CONFIG_NFTL)		+= nftl.o
obj-$(CONFIG_INFTL)		+= inftl.o
obj-$(CONFIG_RFD_FTL)		+= rfd_ftl.o
obj-$(CONFIG_SSFDC)		+= ssfdc.o
M
Maxim Levitsky 已提交
26
obj-$(CONFIG_SM_FTL)		+= sm_ftl.o
27
obj-$(CONFIG_MTD_OOPS)		+= mtdoops.o
J
Jarkko Lavinen 已提交
28
obj-$(CONFIG_MTD_SWAP)		+= mtdswap.o
L
Linus Torvalds 已提交
29 30 31 32

nftl-objs		:= nftlcore.o nftlmount.o
inftl-objs		:= inftlcore.o inftlmount.o

33
obj-y		+= chips/ lpddr/ maps/ devices/ nand/ onenand/ tests/
A
Artem B. Bityutskiy 已提交
34

35
obj-$(CONFIG_MTD_SPI_NOR_BASE)	+= spi-nor/
A
Artem B. Bityutskiy 已提交
36
obj-$(CONFIG_MTD_UBI)		+= ubi/