# SPDX-License-Identifier: GPL-2.0 # # Makefile for the memory technology device drivers. # # Core functionality. obj-$([31mCONFIG_MTD[0m) += mtd.o mtd-y := mtdcore.o mtdsuper.o mtdconcat.o mtdpart.o mtdchar.o obj-y += parsers/ # 'Users' - code which presents functionality to userspace. obj-$([31mCONFIG_MTD_BLKDEVS[0m) += mtd_blkdevs.o obj-$([31mCONFIG_MTD_BLOCK[0m) += mtdblock.o obj-$([31mCONFIG_MTD_BLOCK_RO[0m) += mtdblock_ro.o obj-$([31mCONFIG_FTL[0m) += ftl.o obj-$([31mCONFIG_NFTL[0m) += nftl.o obj-$([31mCONFIG_INFTL[0m) += inftl.o obj-$([31mCONFIG_RFD_FTL[0m) += rfd_ftl.o obj-$([31mCONFIG_SSFDC[0m) += ssfdc.o obj-$([31mCONFIG_SM_FTL[0m) += sm_ftl.o obj-$([31mCONFIG_MTD_OOPS[0m) += mtdoops.o obj-$([31mCONFIG_MTD_SWAP[0m) += mtdswap.o nftl-objs := nftlcore.o nftlmount.o inftl-objs := inftlcore.o inftlmount.o obj-y += chips/ lpddr/ maps/ devices/ nand/ tests/ obj-$([31mCONFIG_MTD_SPI_NOR[0m) += spi-nor/ obj-$([31mCONFIG_MTD_UBI[0m) += ubi/ obj-$([31mCONFIG_MTD_HYPERBUS[0m) += hyperbus/ |