blob: 223e4c34c29a5b2f048becd0fdd6ab7346e04a62 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001# 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