2008-06-12 17:27:56 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2006
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2008-06-12 17:27:56 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
|
2010-11-05 14:48:07 +00:00
|
|
|
LIB := $(obj)libmmc.o
|
2008-06-12 17:27:56 +00:00
|
|
|
|
2012-06-24 21:35:20 +00:00
|
|
|
|
2008-11-29 23:22:38 +00:00
|
|
|
COBJS-$(CONFIG_BFIN_SDH) += bfin_sdh.o
|
2010-12-21 01:01:21 +00:00
|
|
|
COBJS-$(CONFIG_DAVINCI_MMC) += davinci_mmc.o
|
2008-10-30 21:47:16 +00:00
|
|
|
COBJS-$(CONFIG_FSL_ESDHC) += fsl_esdhc.o
|
2013-05-06 20:32:51 +00:00
|
|
|
COBJS-$(CONFIG_FTSDC010) += ftsdc010_mci.o
|
2010-08-13 08:31:06 +00:00
|
|
|
COBJS-$(CONFIG_GENERIC_MMC) += mmc.o
|
|
|
|
COBJS-$(CONFIG_GENERIC_ATMEL_MCI) += gen_atmel_mci.o
|
2010-12-24 13:12:21 +00:00
|
|
|
COBJS-$(CONFIG_MMC_SPI) += mmc_spi.o
|
2011-04-16 11:54:07 +00:00
|
|
|
COBJS-$(CONFIG_ARM_PL180_MMCI) += arm_pl180_mmci.o
|
2011-06-28 21:50:07 +00:00
|
|
|
COBJS-$(CONFIG_MV_SDHCI) += mv_sdhci.o
|
2009-06-08 00:12:49 +00:00
|
|
|
COBJS-$(CONFIG_MXC_MMC) += mxcmmc.o
|
2011-11-08 23:18:09 +00:00
|
|
|
COBJS-$(CONFIG_MXS_MMC) += mxsmmc.o
|
2010-09-19 03:32:33 +00:00
|
|
|
COBJS-$(CONFIG_OMAP_HSMMC) += omap_hsmmc.o
|
2011-11-02 00:29:27 +00:00
|
|
|
COBJS-$(CONFIG_PXA_MMC_GENERIC) += pxa_mmc_gen.o
|
2011-06-28 21:50:06 +00:00
|
|
|
COBJS-$(CONFIG_SDHCI) += sdhci.o
|
2013-01-29 16:37:41 +00:00
|
|
|
COBJS-$(CONFIG_BCM2835_SDHCI) += bcm2835_sdhci.o
|
2012-04-23 02:36:28 +00:00
|
|
|
COBJS-$(CONFIG_S5P_SDHCI) += s5p_sdhci.o
|
2011-07-04 22:21:22 +00:00
|
|
|
COBJS-$(CONFIG_SH_MMCIF) += sh_mmcif.o
|
2012-12-05 20:44:09 +00:00
|
|
|
COBJS-$(CONFIG_SPEAR_SDHCI) += spear_sdhci.o
|
2012-05-22 11:44:48 +00:00
|
|
|
COBJS-$(CONFIG_TEGRA_MMC) += tegra_mmc.o
|
2012-10-15 19:10:29 +00:00
|
|
|
COBJS-$(CONFIG_DWMMC) += dw_mmc.o
|
2012-10-15 19:10:31 +00:00
|
|
|
COBJS-$(CONFIG_EXYNOS_DWMMC) += exynos_dw_mmc.o
|
2013-04-22 12:56:49 +00:00
|
|
|
COBJS-$(CONFIG_ZYNQ_SDHCI) += zynq_sdhci.o
|
2008-06-12 17:27:58 +00:00
|
|
|
|
2008-06-12 17:27:56 +00:00
|
|
|
COBJS := $(COBJS-y)
|
|
|
|
SRCS := $(COBJS:.o=.c)
|
|
|
|
OBJS := $(addprefix $(obj),$(COBJS))
|
|
|
|
|
|
|
|
all: $(LIB)
|
|
|
|
|
|
|
|
$(LIB): $(obj).depend $(OBJS)
|
2010-11-05 14:48:07 +00:00
|
|
|
$(call cmd_link_o_target, $(OBJS))
|
2008-06-12 17:27:56 +00:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
# defines $(obj).depend target
|
|
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
|
|
|
|
sinclude $(obj).depend
|
|
|
|
|
|
|
|
#########################################################################
|