1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 21da177e4SLinus Torvalds# 31da177e4SLinus Torvalds# Makefile for the memory technology device drivers. 41da177e4SLinus Torvalds# 51da177e4SLinus Torvalds 61da177e4SLinus Torvalds# Core functionality. 7bec49477SSatyam Sharmaobj-$(CONFIG_MTD) += mtd.o 8660685d9SArtem Bityutskiymtd-y := mtdcore.o mtdsuper.o mtdconcat.o mtdpart.o mtdchar.o 91da177e4SLinus Torvalds 1099352afeSRafał Miłeckiobj-y += parsers/ 111da177e4SLinus Torvalds 121da177e4SLinus Torvalds# 'Users' - code which presents functionality to userspace. 13f6a7ecb1SJosh Boyerobj-$(CONFIG_MTD_BLKDEVS) += mtd_blkdevs.o 14f6a7ecb1SJosh Boyerobj-$(CONFIG_MTD_BLOCK) += mtdblock.o 15f6a7ecb1SJosh Boyerobj-$(CONFIG_MTD_BLOCK_RO) += mtdblock_ro.o 16f6a7ecb1SJosh Boyerobj-$(CONFIG_FTL) += ftl.o 17f6a7ecb1SJosh Boyerobj-$(CONFIG_NFTL) += nftl.o 18f6a7ecb1SJosh Boyerobj-$(CONFIG_INFTL) += inftl.o 19f6a7ecb1SJosh Boyerobj-$(CONFIG_RFD_FTL) += rfd_ftl.o 20f6a7ecb1SJosh Boyerobj-$(CONFIG_SSFDC) += ssfdc.o 217d17c02aSMaxim Levitskyobj-$(CONFIG_SM_FTL) += sm_ftl.o 224b23aff0SRichard Purdieobj-$(CONFIG_MTD_OOPS) += mtdoops.o 23*78c08247SWeiXiong Liaoobj-$(CONFIG_MTD_PSTORE) += mtdpstore.o 24a3215902SJarkko Lavinenobj-$(CONFIG_MTD_SWAP) += mtdswap.o 251da177e4SLinus Torvalds 261da177e4SLinus Torvaldsnftl-objs := nftlcore.o nftlmount.o 271da177e4SLinus Torvaldsinftl-objs := inftlcore.o inftlmount.o 281da177e4SLinus Torvalds 2926777d37SBoris Brezillonobj-y += chips/ lpddr/ maps/ devices/ nand/ tests/ 30801c135cSArtem B. Bityutskiy 31e43b2061SBrian Norrisobj-$(CONFIG_MTD_SPI_NOR) += spi-nor/ 32801c135cSArtem B. Bityutskiyobj-$(CONFIG_MTD_UBI) += ubi/ 33dcc7d344SVignesh Raghavendraobj-$(CONFIG_MTD_HYPERBUS) += hyperbus/ 34