2007-11-20 19:28:09 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2000-2007
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2007-11-20 19:28:09 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
|
2010-11-05 14:48:07 +00:00
|
|
|
LIB := $(obj)libpci.o
|
2007-11-20 19:28:09 +00:00
|
|
|
|
2008-08-12 23:40:40 +00:00
|
|
|
COBJS-$(CONFIG_FSL_PCI_INIT) += fsl_pci_init.o
|
2013-05-30 07:06:12 +00:00
|
|
|
COBJS-$(CONFIG_PCI) += pci.o pci_auto.o
|
|
|
|
COBJS-$(CONFIG_PCI_INDIRECT_BRIDGE) += pci_indirect.o
|
2013-05-22 03:57:42 +00:00
|
|
|
COBJS-$(CONFIG_PCI_GT64120) += pci_gt64120.o
|
2011-11-28 20:48:14 +00:00
|
|
|
COBJS-$(CONFIG_FTPCI100) += pci_ftpci100.o
|
2009-01-31 07:56:49 +00:00
|
|
|
COBJS-$(CONFIG_IXP_PCI) += pci_ixp.o
|
2008-03-23 17:11:26 +00:00
|
|
|
COBJS-$(CONFIG_SH4_PCI) += pci_sh4.o
|
2008-03-23 16:53:01 +00:00
|
|
|
COBJS-$(CONFIG_SH7751_PCI) +=pci_sh7751.o
|
2008-03-23 17:11:26 +00:00
|
|
|
COBJS-$(CONFIG_SH7780_PCI) +=pci_sh7780.o
|
2008-08-12 23:40:40 +00:00
|
|
|
COBJS-$(CONFIG_TSI108_PCI) += tsi108_pci.o
|
|
|
|
COBJS-$(CONFIG_WINBOND_83C553) += w83c553f.o
|
2007-11-20 19:28:09 +00:00
|
|
|
|
|
|
|
COBJS := $(COBJS-y)
|
2008-05-20 14:00:29 +00:00
|
|
|
SRCS := $(COBJS:.o=.c)
|
|
|
|
OBJS := $(addprefix $(obj),$(COBJS))
|
2007-11-20 19:28:09 +00:00
|
|
|
|
|
|
|
all: $(LIB)
|
|
|
|
|
|
|
|
$(LIB): $(obj).depend $(OBJS)
|
2010-11-05 14:48:07 +00:00
|
|
|
$(call cmd_link_o_target, $(OBJS))
|
2007-11-20 19:28:09 +00:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
# defines $(obj).depend target
|
|
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
|
|
|
|
sinclude $(obj).depend
|
|
|
|
|
|
|
|
#########################################################################
|