f6a7ecb18d
Add a MTD_BLKDEVS Kconfig option to cleanup the makefile a bit Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com> Signed-off-by: Artem Bityutskiy <dedekind@infradead.org>
30 lines
919 B
Makefile
30 lines
919 B
Makefile
#
|
|
# Makefile for the memory technology device drivers.
|
|
#
|
|
# $Id: Makefile.common,v 1.7 2005/07/11 10:39:27 gleixner Exp $
|
|
|
|
# Core functionality.
|
|
mtd-y := mtdcore.o
|
|
mtd-$(CONFIG_MTD_PARTITIONS) += mtdpart.o
|
|
obj-$(CONFIG_MTD) += $(mtd-y)
|
|
|
|
obj-$(CONFIG_MTD_CONCAT) += mtdconcat.o
|
|
obj-$(CONFIG_MTD_REDBOOT_PARTS) += redboot.o
|
|
obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o
|
|
obj-$(CONFIG_MTD_AFS_PARTS) += afs.o
|
|
|
|
# 'Users' - code which presents functionality to userspace.
|
|
obj-$(CONFIG_MTD_CHAR) += mtdchar.o
|
|
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
|
|
|
|
nftl-objs := nftlcore.o nftlmount.o
|
|
inftl-objs := inftlcore.o inftlmount.o
|
|
|
|
obj-y += chips/ maps/ devices/ nand/ onenand/
|