xref: /openbmc/linux/drivers/pci/hotplug/Makefile (revision 20416ea5)
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
25
26cpqphp-objs		:=	cpqphp_core.o	\
27				cpqphp_ctrl.o	\
28				cpqphp_sysfs.o	\
29				cpqphp_pci.o
30cpqphp-$(CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM) += cpqphp_nvram.o
31cpqphp-objs += $(cpqphp-y)
32
33ibmphp-objs		:=	ibmphp_core.o	\
34				ibmphp_ebda.o	\
35				ibmphp_pci.o	\
36				ibmphp_res.o	\
37				ibmphp_hpc.o
38
39acpiphp-objs		:=	acpiphp_core.o	\
40				acpiphp_glue.o  \
41				acpiphp_dock.o
42
43rpaphp-objs		:=	rpaphp_core.o	\
44				rpaphp_pci.o	\
45				rpaphp_slot.o
46
47rpadlpar_io-objs	:=	rpadlpar_core.o \
48				rpadlpar_sysfs.o
49
50pciehp-objs		:=	pciehp_core.o	\
51				pciehp_ctrl.o	\
52				pciehp_pci.o	\
53				pciehp_hpc.o
54ifdef CONFIG_ACPI
55	pciehp-objs += pciehprm_acpi.o
56else
57	pciehp-objs += pciehprm_nonacpi.o
58endif
59
60shpchp-objs		:=	shpchp_core.o	\
61				shpchp_ctrl.o	\
62				shpchp_pci.o	\
63				shpchp_sysfs.o	\
64				shpchp_hpc.o
65ifdef CONFIG_ACPI
66	shpchp-objs += shpchprm_acpi.o
67else
68	ifdef CONFIG_HOTPLUG_PCI_SHPC_PHPRM_LEGACY
69		shpchp-objs += shpchprm_legacy.o
70	else
71		shpchp-objs += shpchprm_nonacpi.o
72	endif
73endif
74