blob: 9ef010a516084cf41937049c3009037e38fbd159 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the kernel mmc device drivers.
3#
4
5#
6# Core
7#
8obj-$(CONFIG_MMC) += mmc_core.o
9
10#
11# Media drivers
12#
13obj-$(CONFIG_MMC_BLOCK) += mmc_block.o
Pierre Ossman98ac2162006-12-23 20:03:02 +010014mmc_block-objs := block.o queue.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070015
16#
17# Host drivers
18#
19obj-$(CONFIG_MMC_ARMMMCI) += mmci.o
20obj-$(CONFIG_MMC_PXA) += pxamci.o
Pavel Pisa56ca9042006-04-02 19:27:07 +010021obj-$(CONFIG_MMC_IMX) += imxmmc.o
Pierre Ossmand129bce2006-03-24 03:18:17 -080022obj-$(CONFIG_MMC_SDHCI) += sdhci.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070023obj-$(CONFIG_MMC_WBSD) += wbsd.o
Pete Popovba264b32005-09-21 06:18:27 +000024obj-$(CONFIG_MMC_AU1X) += au1xmmc.o
Carlos Aguiar730c9b72006-03-29 09:21:00 +010025obj-$(CONFIG_MMC_OMAP) += omap.o
Andrew Victor58a0cd72006-12-01 14:51:13 +010026obj-$(CONFIG_MMC_AT91) += at91_mci.o
Alex Dubovf9565122006-10-04 02:15:38 -070027obj-$(CONFIG_MMC_TIFM_SD) += tifm_sd.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070028
David Howells93614012006-09-30 20:45:40 +020029mmc_core-y := mmc.o mmc_sysfs.o
Russell Kingc6563172006-03-29 09:30:20 +010030
31ifeq ($(CONFIG_MMC_DEBUG),y)
32EXTRA_CFLAGS += -DDEBUG
33endif