xref: /openbmc/linux/drivers/pci/pcie/Makefile (revision ddc141e5)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for PCI-Express PORT Driver
4#
5
6# Build PCI Express ASPM if needed
7obj-$(CONFIG_PCIEASPM)		+= aspm.o
8
9pcieportdrv-y			:= portdrv_core.o portdrv_pci.o portdrv_bus.o
10pcieportdrv-$(CONFIG_ACPI)	+= portdrv_acpi.o
11
12obj-$(CONFIG_PCIEPORTBUS)	+= pcieportdrv.o
13
14# Build PCI Express AER if needed
15obj-$(CONFIG_PCIEAER)		+= aer/
16
17obj-$(CONFIG_PCIE_PME) += pme.o
18
19obj-$(CONFIG_PCIE_DPC) += pcie-dpc.o
20obj-$(CONFIG_PCIE_PTM) += ptm.o
21