Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the memory technology device drivers. |
| 3 | # |
Kyungmin Park | cd5f634 | 2005-07-11 11:41:53 +0100 | [diff] [blame] | 4 | # $Id: Makefile.common,v 1.7 2005/07/11 10:39:27 gleixner Exp $ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 5 | |
| 6 | # Core functionality. |
| 7 | mtd-y := mtdcore.o |
| 8 | mtd-$(CONFIG_MTD_PARTITIONS) += mtdpart.o |
| 9 | obj-$(CONFIG_MTD) += $(mtd-y) |
| 10 | |
| 11 | obj-$(CONFIG_MTD_CONCAT) += mtdconcat.o |
| 12 | obj-$(CONFIG_MTD_REDBOOT_PARTS) += redboot.o |
| 13 | obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o |
| 14 | obj-$(CONFIG_MTD_AFS_PARTS) += afs.o |
| 15 | |
| 16 | # 'Users' - code which presents functionality to userspace. |
| 17 | obj-$(CONFIG_MTD_CHAR) += mtdchar.o |
| 18 | obj-$(CONFIG_MTD_BLOCK) += mtdblock.o mtd_blkdevs.o |
| 19 | obj-$(CONFIG_MTD_BLOCK_RO) += mtdblock_ro.o mtd_blkdevs.o |
| 20 | obj-$(CONFIG_FTL) += ftl.o mtd_blkdevs.o |
| 21 | obj-$(CONFIG_NFTL) += nftl.o mtd_blkdevs.o |
| 22 | obj-$(CONFIG_INFTL) += inftl.o mtd_blkdevs.o |
Sean Young | e27a996 | 2005-06-16 09:49:33 +0100 | [diff] [blame] | 23 | obj-$(CONFIG_RFD_FTL) += rfd_ftl.o mtd_blkdevs.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | |
| 25 | nftl-objs := nftlcore.o nftlmount.o |
| 26 | inftl-objs := inftlcore.o inftlmount.o |
| 27 | |
Kyungmin Park | cd5f634 | 2005-07-11 11:41:53 +0100 | [diff] [blame] | 28 | obj-y += chips/ maps/ devices/ nand/ onenand/ |