xref: /linux/drivers/mmc/core/Makefile (revision de13d5a44e61366ab5b75c111449ca284b6e3f5d)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
2aaac1b47SPierre Ossman#
3aaac1b47SPierre Ossman# Makefile for the kernel mmc core.
4aaac1b47SPierre Ossman#
5aaac1b47SPierre Ossman
6aaac1b47SPierre Ossmanobj-$(CONFIG_MMC)		+= mmc_core.o
751ec92e2SPierre Ossmanmmc_core-y			:= core.o bus.o host.o \
85c4e6f13SPierre Ossman				   mmc.o mmc_ops.o sd.o sd_ops.o \
946f555f2SPierre Ossman				   sdio.o sdio_ops.o sdio_bus.o \
1057f0adc7SPierre Tardy				   sdio_cis.o sdio_io.o sdio_irq.o \
11*de13d5a4SUlf Hansson				   slot-gpio.o regulator.o
12d97a1e5dSSrinivas Kandagatlammc_core-$(CONFIG_OF)		+= pwrseq.o
13d97a1e5dSSrinivas Kandagatlaobj-$(CONFIG_PWRSEQ_SIMPLE)	+= pwrseq_simple.o
14de19b4c9SMatt Ranostayobj-$(CONFIG_PWRSEQ_SD8787)	+= pwrseq_sd8787.o
15d97a1e5dSSrinivas Kandagatlaobj-$(CONFIG_PWRSEQ_EMMC)	+= pwrseq_emmc.o
166edd8ee6SHaavard Skinnemoenmmc_core-$(CONFIG_DEBUG_FS)	+= debugfs.o
17f397c8d8SUlf Hanssonobj-$(CONFIG_MMC_BLOCK)		+= mmc_block.o
18f397c8d8SUlf Hanssonmmc_block-objs			:= block.o queue.o
19f397c8d8SUlf Hanssonobj-$(CONFIG_MMC_TEST)		+= mmc_test.o
20f397c8d8SUlf Hanssonobj-$(CONFIG_SDIO_UART)		+= sdio_uart.o
21