xref: /openbmc/linux/drivers/pci/hotplug/Makefile (revision 4e8662bb)
1#
2# Makefile for the Linux kernel pci hotplug controller drivers.
3#
4
5obj-$(CONFIG_HOTPLUG_PCI)		+= pci_hotplug.o
6obj-$(CONFIG_HOTPLUG_PCI_FAKE)		+= fakephp.o
7obj-$(CONFIG_HOTPLUG_PCI_COMPAQ)	+= cpqphp.o
8obj-$(CONFIG_HOTPLUG_PCI_IBM)		+= ibmphp.o
9obj-$(CONFIG_HOTPLUG_PCI_ACPI)		+= acpiphp.o
10obj-$(CONFIG_HOTPLUG_PCI_ACPI_IBM)	+= acpiphp_ibm.o
11obj-$(CONFIG_HOTPLUG_PCI_CPCI_ZT5550)	+= cpcihp_zt5550.o
12obj-$(CONFIG_HOTPLUG_PCI_CPCI_GENERIC)	+= cpcihp_generic.o
13obj-$(CONFIG_HOTPLUG_PCI_PCIE)		+= pciehp.o
14obj-$(CONFIG_HOTPLUG_PCI_SHPC)		+= shpchp.o
15obj-$(CONFIG_HOTPLUG_PCI_RPA)		+= rpaphp.o
16obj-$(CONFIG_HOTPLUG_PCI_RPA_DLPAR)	+= rpadlpar_io.o
17obj-$(CONFIG_HOTPLUG_PCI_SGI)		+= sgi_hotplug.o
18
19pci_hotplug-objs	:=	pci_hotplug_core.o
20
21ifdef CONFIG_HOTPLUG_PCI_CPCI
22pci_hotplug-objs	+=	cpci_hotplug_core.o	\
23				cpci_hotplug_pci.o
24endif
25ifdef CONFIG_ACPI
26pci_hotplug-objs 	+= 	acpi_pcihp.o
27endif
28
29cpqphp-objs		:=	cpqphp_core.o	\
30				cpqphp_ctrl.o	\
31				cpqphp_sysfs.o	\
32				cpqphp_pci.o
33cpqphp-$(CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM) += cpqphp_nvram.o
34cpqphp-objs += $(cpqphp-y)
35
36ibmphp-objs		:=	ibmphp_core.o	\
37				ibmphp_ebda.o	\
38				ibmphp_pci.o	\
39				ibmphp_res.o	\
40				ibmphp_hpc.o
41
42acpiphp-objs		:=	acpiphp_core.o	\
43				acpiphp_glue.o
44
45rpaphp-objs		:=	rpaphp_core.o	\
46				rpaphp_pci.o	\
47				rpaphp_slot.o
48
49rpadlpar_io-objs	:=	rpadlpar_core.o \
50				rpadlpar_sysfs.o
51
52pciehp-objs		:=	pciehp_core.o	\
53				pciehp_ctrl.o	\
54				pciehp_pci.o	\
55				pciehp_hpc.o
56
57shpchp-objs		:=	shpchp_core.o	\
58				shpchp_ctrl.o	\
59				shpchp_pci.o	\
60				shpchp_sysfs.o	\
61				shpchp_hpc.o
62