2005-04-17 06:20:36 +08:00
|
|
|
#
|
|
|
|
# Makefile for the memory technology device drivers.
|
|
|
|
#
|
2005-07-11 18:41:53 +08:00
|
|
|
# $Id: Makefile.common,v 1.7 2005/07/11 10:39:27 gleixner Exp $
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
# 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_BLOCK) += mtdblock.o mtd_blkdevs.o
|
|
|
|
obj-$(CONFIG_MTD_BLOCK_RO) += mtdblock_ro.o mtd_blkdevs.o
|
|
|
|
obj-$(CONFIG_FTL) += ftl.o mtd_blkdevs.o
|
|
|
|
obj-$(CONFIG_NFTL) += nftl.o mtd_blkdevs.o
|
|
|
|
obj-$(CONFIG_INFTL) += inftl.o mtd_blkdevs.o
|
2005-06-16 16:49:33 +08:00
|
|
|
obj-$(CONFIG_RFD_FTL) += rfd_ftl.o mtd_blkdevs.o
|
2006-09-22 18:01:37 +08:00
|
|
|
obj-$(CONFIG_SSFDC) += ssfdc.o mtd_blkdevs.o
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
nftl-objs := nftlcore.o nftlmount.o
|
|
|
|
inftl-objs := inftlcore.o inftlmount.o
|
|
|
|
|
2005-07-11 18:41:53 +08:00
|
|
|
obj-y += chips/ maps/ devices/ nand/ onenand/
|