2008-06-12 17:27:56 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2006
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
|
|
|
# See file CREDITS for list of people who contributed to this
|
|
|
|
# project.
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU General Public License as
|
|
|
|
# published by the Free Software Foundation; either version 2 of
|
|
|
|
# the License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
|
|
# MA 02111-1307 USA
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
|
2010-11-05 14:48:07 +00:00
|
|
|
LIB := $(obj)libmmc.o
|
2008-06-12 17:27:56 +00:00
|
|
|
|
2008-06-12 17:27:58 +00:00
|
|
|
COBJS-$(CONFIG_ATMEL_MCI) += atmel_mci.o
|
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
|
2011-07-20 21:29:58 +00:00
|
|
|
COBJS-$(CONFIG_FTSDC010) += ftsdc010_esdhc.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
|
2010-09-19 03:32:33 +00:00
|
|
|
COBJS-$(CONFIG_OMAP_HSMMC) += omap_hsmmc.o
|
2009-02-20 02:47:50 +00:00
|
|
|
COBJS-$(CONFIG_PXA_MMC) += pxa_mmc.o
|
2011-11-02 00:29:27 +00:00
|
|
|
COBJS-$(CONFIG_PXA_MMC_GENERIC) += pxa_mmc_gen.o
|
2010-07-06 11:26:06 +00:00
|
|
|
COBJS-$(CONFIG_S5P_MMC) += s5p_mmc.o
|
2011-06-28 21:50:06 +00:00
|
|
|
COBJS-$(CONFIG_SDHCI) += sdhci.o
|
2011-07-04 22:21:22 +00:00
|
|
|
COBJS-$(CONFIG_SH_MMCIF) += sh_mmcif.o
|
2011-05-31 10:30:37 +00:00
|
|
|
COBJS-$(CONFIG_TEGRA2_MMC) += tegra2_mmc.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
|
|
|
|
|
|
|
|
#########################################################################
|