diff options
Diffstat (limited to 'drivers/mmc/Makefile')
-rw-r--r-- | drivers/mmc/Makefile | 30 |
1 files changed, 7 insertions, 23 deletions
diff --git a/drivers/mmc/Makefile b/drivers/mmc/Makefile index 9ef010a51608..4d2bdfeb8d76 100644 --- a/drivers/mmc/Makefile +++ b/drivers/mmc/Makefile | |||
@@ -2,32 +2,16 @@ | |||
2 | # Makefile for the kernel mmc device drivers. | 2 | # Makefile for the kernel mmc device drivers. |
3 | # | 3 | # |
4 | 4 | ||
5 | ifeq ($(CONFIG_MMC_DEBUG),y) | ||
6 | EXTRA_CFLAGS += -DDEBUG | ||
7 | endif | ||
8 | |||
5 | # | 9 | # |
6 | # Core | 10 | # Core |
7 | # | 11 | # |
8 | obj-$(CONFIG_MMC) += mmc_core.o | 12 | obj-$(CONFIG_MMC) += mmc_core.o |
13 | mmc_core-y := mmc.o mmc_sysfs.o | ||
9 | 14 | ||
10 | # | 15 | obj-$(CONFIG_MMC) += card/ |
11 | # Media drivers | 16 | obj-$(CONFIG_MMC) += host/ |
12 | # | ||
13 | obj-$(CONFIG_MMC_BLOCK) += mmc_block.o | ||
14 | mmc_block-objs := block.o queue.o | ||
15 | 17 | ||
16 | # | ||
17 | # Host drivers | ||
18 | # | ||
19 | obj-$(CONFIG_MMC_ARMMMCI) += mmci.o | ||
20 | obj-$(CONFIG_MMC_PXA) += pxamci.o | ||
21 | obj-$(CONFIG_MMC_IMX) += imxmmc.o | ||
22 | obj-$(CONFIG_MMC_SDHCI) += sdhci.o | ||
23 | obj-$(CONFIG_MMC_WBSD) += wbsd.o | ||
24 | obj-$(CONFIG_MMC_AU1X) += au1xmmc.o | ||
25 | obj-$(CONFIG_MMC_OMAP) += omap.o | ||
26 | obj-$(CONFIG_MMC_AT91) += at91_mci.o | ||
27 | obj-$(CONFIG_MMC_TIFM_SD) += tifm_sd.o | ||
28 | |||
29 | mmc_core-y := mmc.o mmc_sysfs.o | ||
30 | |||
31 | ifeq ($(CONFIG_MMC_DEBUG),y) | ||
32 | EXTRA_CFLAGS += -DDEBUG | ||
33 | endif | ||