xref: /rk3399_rockchip-uboot/drivers/pci/Makefile (revision 93a686ee9c5ddc6fa368c32cfbfde6f6724599fc)
1*93a686eeSJean-Christophe PLAGNIOL-VILLARD#
2*93a686eeSJean-Christophe PLAGNIOL-VILLARD# (C) Copyright 2000-2007
3*93a686eeSJean-Christophe PLAGNIOL-VILLARD# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4*93a686eeSJean-Christophe PLAGNIOL-VILLARD#
5*93a686eeSJean-Christophe PLAGNIOL-VILLARD# See file CREDITS for list of people who contributed to this
6*93a686eeSJean-Christophe PLAGNIOL-VILLARD# project.
7*93a686eeSJean-Christophe PLAGNIOL-VILLARD#
8*93a686eeSJean-Christophe PLAGNIOL-VILLARD# This program is free software; you can redistribute it and/or
9*93a686eeSJean-Christophe PLAGNIOL-VILLARD# modify it under the terms of the GNU General Public License as
10*93a686eeSJean-Christophe PLAGNIOL-VILLARD# published by the Free Software Foundation; either version 2 of
11*93a686eeSJean-Christophe PLAGNIOL-VILLARD# the License, or (at your option) any later version.
12*93a686eeSJean-Christophe PLAGNIOL-VILLARD#
13*93a686eeSJean-Christophe PLAGNIOL-VILLARD# This program is distributed in the hope that it will be useful,
14*93a686eeSJean-Christophe PLAGNIOL-VILLARD# but WITHOUT ANY WARRANTY; without even the implied warranty of
15*93a686eeSJean-Christophe PLAGNIOL-VILLARD# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	See the
16*93a686eeSJean-Christophe PLAGNIOL-VILLARD# GNU General Public License for more details.
17*93a686eeSJean-Christophe PLAGNIOL-VILLARD#
18*93a686eeSJean-Christophe PLAGNIOL-VILLARD# You should have received a copy of the GNU General Public License
19*93a686eeSJean-Christophe PLAGNIOL-VILLARD# along with this program; if not, write to the Free Software
20*93a686eeSJean-Christophe PLAGNIOL-VILLARD# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21*93a686eeSJean-Christophe PLAGNIOL-VILLARD# MA 02111-1307 USA
22*93a686eeSJean-Christophe PLAGNIOL-VILLARD#
23*93a686eeSJean-Christophe PLAGNIOL-VILLARD
24*93a686eeSJean-Christophe PLAGNIOL-VILLARDinclude $(TOPDIR)/config.mk
25*93a686eeSJean-Christophe PLAGNIOL-VILLARD
26*93a686eeSJean-Christophe PLAGNIOL-VILLARDLIB 	:= $(obj)libpci.a
27*93a686eeSJean-Christophe PLAGNIOL-VILLARD
28*93a686eeSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += fsl_pci_init.o
29*93a686eeSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += pci.o
30*93a686eeSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += pci_auto.o
31*93a686eeSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += pci_indirect.o
32*93a686eeSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += tsi108_pci.o
33*93a686eeSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += w83c553f.o
34*93a686eeSJean-Christophe PLAGNIOL-VILLARD
35*93a686eeSJean-Christophe PLAGNIOL-VILLARDCOBJS	:= $(COBJS-y)
36*93a686eeSJean-Christophe PLAGNIOL-VILLARDSRCS 	:= $(COBJS:.o=.c)
37*93a686eeSJean-Christophe PLAGNIOL-VILLARDOBJS 	:= $(addprefix $(obj),$(COBJS))
38*93a686eeSJean-Christophe PLAGNIOL-VILLARD
39*93a686eeSJean-Christophe PLAGNIOL-VILLARDall:	$(LIB)
40*93a686eeSJean-Christophe PLAGNIOL-VILLARD
41*93a686eeSJean-Christophe PLAGNIOL-VILLARD$(LIB):	$(obj).depend $(OBJS)
42*93a686eeSJean-Christophe PLAGNIOL-VILLARD	$(AR) $(ARFLAGS) $@ $(OBJS)
43*93a686eeSJean-Christophe PLAGNIOL-VILLARD
44*93a686eeSJean-Christophe PLAGNIOL-VILLARD#########################################################################
45*93a686eeSJean-Christophe PLAGNIOL-VILLARD
46*93a686eeSJean-Christophe PLAGNIOL-VILLARD# defines $(obj).depend target
47*93a686eeSJean-Christophe PLAGNIOL-VILLARDinclude $(SRCTREE)/rules.mk
48*93a686eeSJean-Christophe PLAGNIOL-VILLARD
49*93a686eeSJean-Christophe PLAGNIOL-VILLARDsinclude $(obj).depend
50*93a686eeSJean-Christophe PLAGNIOL-VILLARD
51*93a686eeSJean-Christophe PLAGNIOL-VILLARD#########################################################################
52