Makefile (964B)
1# SPDX-License-Identifier: GPL-2.0 2# 3# Makefile for the memory technology device drivers. 4# 5 6# Core functionality. 7obj-$(CONFIG_MTD) += mtd.o 8mtd-y := mtdcore.o mtdsuper.o mtdconcat.o mtdpart.o mtdchar.o 9 10obj-y += parsers/ 11 12# 'Users' - code which presents functionality to userspace. 13obj-$(CONFIG_MTD_BLKDEVS) += mtd_blkdevs.o 14obj-$(CONFIG_MTD_BLOCK) += mtdblock.o 15obj-$(CONFIG_MTD_BLOCK_RO) += mtdblock_ro.o 16obj-$(CONFIG_FTL) += ftl.o 17obj-$(CONFIG_NFTL) += nftl.o 18obj-$(CONFIG_INFTL) += inftl.o 19obj-$(CONFIG_RFD_FTL) += rfd_ftl.o 20obj-$(CONFIG_SSFDC) += ssfdc.o 21obj-$(CONFIG_SM_FTL) += sm_ftl.o 22obj-$(CONFIG_MTD_OOPS) += mtdoops.o 23obj-$(CONFIG_MTD_PSTORE) += mtdpstore.o 24obj-$(CONFIG_MTD_SWAP) += mtdswap.o 25 26nftl-objs := nftlcore.o nftlmount.o 27inftl-objs := inftlcore.o inftlmount.o 28 29obj-y += chips/ lpddr/ maps/ devices/ nand/ tests/ 30 31obj-$(CONFIG_MTD_SPI_NOR) += spi-nor/ 32obj-$(CONFIG_MTD_UBI) += ubi/ 33obj-$(CONFIG_MTD_HYPERBUS) += hyperbus/