Makefile 629 字节
Newer Older
L
Linus Torvalds 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13
#
# Makefile for the kernel mmc device drivers.
#

#
# Core
#
obj-$(CONFIG_MMC)		+= mmc_core.o

#
# Media drivers
#
obj-$(CONFIG_MMC_BLOCK)		+= mmc_block.o
14
mmc_block-objs			:= block.o queue.o
L
Linus Torvalds 已提交
15 16 17 18 19 20

#
# Host drivers
#
obj-$(CONFIG_MMC_ARMMMCI)	+= mmci.o
obj-$(CONFIG_MMC_PXA)		+= pxamci.o
21
obj-$(CONFIG_MMC_IMX)		+= imxmmc.o
22
obj-$(CONFIG_MMC_SDHCI)		+= sdhci.o
L
Linus Torvalds 已提交
23
obj-$(CONFIG_MMC_WBSD)		+= wbsd.o
24
obj-$(CONFIG_MMC_AU1X)		+= au1xmmc.o
C
Carlos Aguiar 已提交
25
obj-$(CONFIG_MMC_OMAP)		+= omap.o
26
obj-$(CONFIG_MMC_AT91)		+= at91_mci.o
27
obj-$(CONFIG_MMC_TIFM_SD)	+= tifm_sd.o
L
Linus Torvalds 已提交
28

29
mmc_core-y := mmc.o mmc_sysfs.o
30 31 32 33

ifeq ($(CONFIG_MMC_DEBUG),y)
EXTRA_CFLAGS += -DDEBUG
endif