xref: /linux/drivers/mmc/core/Makefile (revision 6edd8ee60ac9b974bd6ec3b1bcb2aab02762fa8c)
1aaac1b47SPierre Ossman#
2aaac1b47SPierre Ossman# Makefile for the kernel mmc core.
3aaac1b47SPierre Ossman#
4aaac1b47SPierre Ossman
5aaac1b47SPierre Ossmanifeq ($(CONFIG_MMC_DEBUG),y)
6aaac1b47SPierre Ossman	EXTRA_CFLAGS		+= -DDEBUG
7aaac1b47SPierre Ossmanendif
8aaac1b47SPierre Ossman
9aaac1b47SPierre Ossmanobj-$(CONFIG_MMC)		+= mmc_core.o
1051ec92e2SPierre Ossmanmmc_core-y			:= core.o bus.o host.o \
115c4e6f13SPierre Ossman				   mmc.o mmc_ops.o sd.o sd_ops.o \
1246f555f2SPierre Ossman				   sdio.o sdio_ops.o sdio_bus.o \
13d1496c39SNicolas Pitre				   sdio_cis.o sdio_io.o sdio_irq.o
14aaac1b47SPierre Ossman
15*6edd8ee6SHaavard Skinnemoenmmc_core-$(CONFIG_DEBUG_FS)	+= debugfs.o
16