2007-11-24 20:13:59 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2000-2007
|
|
|
|
# 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)libblock.o
|
2007-11-24 20:13:59 +00:00
|
|
|
|
2010-08-07 23:47:05 +00:00
|
|
|
COBJS-$(CONFIG_SCSI_AHCI) += ahci.o
|
2008-08-12 23:40:39 +00:00
|
|
|
COBJS-$(CONFIG_ATA_PIIX) += ata_piix.o
|
2008-03-26 14:55:32 +00:00
|
|
|
COBJS-$(CONFIG_FSL_SATA) += fsl_sata.o
|
2011-05-01 21:28:56 +00:00
|
|
|
COBJS-$(CONFIG_IDE_FTIDE020) += ftide020.o
|
2008-03-26 14:51:44 +00:00
|
|
|
COBJS-$(CONFIG_LIBATA) += libata.o
|
2010-08-07 23:47:05 +00:00
|
|
|
COBJS-$(CONFIG_CMD_MG_DISK) += mg_disk.o
|
2010-08-07 23:47:06 +00:00
|
|
|
COBJS-$(CONFIG_MVSATA_IDE) += mvsata_ide.o
|
2011-01-13 07:27:55 +00:00
|
|
|
COBJS-$(CONFIG_MX51_PATA) += mxc_ata.o
|
2008-11-27 03:16:45 +00:00
|
|
|
COBJS-$(CONFIG_PATA_BFIN) += pata_bfin.o
|
2009-06-12 09:10:12 +00:00
|
|
|
COBJS-$(CONFIG_SATA_DWC) += sata_dwc.o
|
2008-05-29 08:40:17 +00:00
|
|
|
COBJS-$(CONFIG_SATA_SIL3114) += sata_sil3114.o
|
2011-10-07 19:26:58 +00:00
|
|
|
COBJS-$(CONFIG_SATA_SIL) += sata_sil.o
|
2010-08-07 23:47:05 +00:00
|
|
|
COBJS-$(CONFIG_IDE_SIL680) += sil680.o
|
2008-08-12 23:40:39 +00:00
|
|
|
COBJS-$(CONFIG_SCSI_SYM53C8XX) += sym53c8xx.o
|
|
|
|
COBJS-$(CONFIG_SYSTEMACE) += systemace.o
|
2007-11-24 20:13:59 +00:00
|
|
|
|
|
|
|
COBJS := $(COBJS-y)
|
2008-05-20 14:00:29 +00:00
|
|
|
SRCS := $(COBJS:.o=.c)
|
|
|
|
OBJS := $(addprefix $(obj),$(COBJS))
|
2007-11-24 20:13:59 +00:00
|
|
|
|
|
|
|
all: $(LIB)
|
|
|
|
|
|
|
|
$(LIB): $(obj).depend $(OBJS)
|
2010-11-05 14:48:07 +00:00
|
|
|
$(call cmd_link_o_target, $(OBJS))
|
2007-11-24 20:13:59 +00:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
# defines $(obj).depend target
|
|
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
|
|
|
|
sinclude $(obj).depend
|
|
|
|
|
|
|
|
#########################################################################
|