Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | # |
| 3 | # Makefile for the PCI bus specific drivers. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | |
Bjorn Helgaas | 3133e6d | 2018-03-09 13:09:29 -0600 | [diff] [blame] | 5 | obj-$(CONFIG_PCI) += access.o bus.o probe.o host-bridge.o \ |
| 6 | remove.o pci.o pci-driver.o search.o \ |
| 7 | pci-sysfs.o rom.o setup-res.o irq.o vpd.o \ |
Thomas Gleixner | 288c81c | 2021-12-06 23:27:47 +0100 | [diff] [blame] | 8 | setup-bus.o vc.o mmap.o setup-irq.o |
Matthew Minter | be0ce12 | 2017-06-28 15:14:02 -0500 | [diff] [blame] | 9 | |
Thomas Gleixner | 288c81c | 2021-12-06 23:27:47 +0100 | [diff] [blame] | 10 | obj-$(CONFIG_PCI) += msi/ |
Bjorn Helgaas | b7da3d4 | 2019-11-06 16:13:43 -0600 | [diff] [blame] | 11 | obj-$(CONFIG_PCI) += pcie/ |
| 12 | |
Cyrille Pitchen | 9de0eec | 2018-01-30 21:56:49 +0100 | [diff] [blame] | 13 | ifdef CONFIG_PCI |
Bjorn Helgaas | 3133e6d | 2018-03-09 13:09:29 -0600 | [diff] [blame] | 14 | obj-$(CONFIG_PROC_FS) += proc.o |
| 15 | obj-$(CONFIG_SYSFS) += slot.o |
Sinan Kaya | 5d32a66 | 2018-12-19 22:46:56 +0000 | [diff] [blame] | 16 | obj-$(CONFIG_ACPI) += pci-acpi.o |
Cyrille Pitchen | 9de0eec | 2018-01-30 21:56:49 +0100 | [diff] [blame] | 17 | endif |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | |
Kishon Vijay Abraham I | 40e5d61 | 2019-03-25 15:09:37 +0530 | [diff] [blame] | 19 | obj-$(CONFIG_OF) += of.o |
Bjorn Helgaas | 3133e6d | 2018-03-09 13:09:29 -0600 | [diff] [blame] | 20 | obj-$(CONFIG_PCI_QUIRKS) += quirks.o |
Bjorn Helgaas | 3133e6d | 2018-03-09 13:09:29 -0600 | [diff] [blame] | 21 | obj-$(CONFIG_HOTPLUG_PCI) += hotplug/ |
Bjorn Helgaas | 3133e6d | 2018-03-09 13:09:29 -0600 | [diff] [blame] | 22 | obj-$(CONFIG_PCI_ATS) += ats.o |
| 23 | obj-$(CONFIG_PCI_IOV) += iov.o |
Thomas Petazzoni | 23a5fba | 2018-10-18 17:37:16 +0200 | [diff] [blame] | 24 | obj-$(CONFIG_PCI_BRIDGE_EMUL) += pci-bridge-emul.o |
Bjorn Helgaas | 3133e6d | 2018-03-09 13:09:29 -0600 | [diff] [blame] | 25 | obj-$(CONFIG_PCI_LABEL) += pci-label.o |
| 26 | obj-$(CONFIG_X86_INTEL_MID) += pci-mid.o |
| 27 | obj-$(CONFIG_PCI_SYSCALL) += syscall.o |
| 28 | obj-$(CONFIG_PCI_STUB) += pci-stub.o |
Alexander Duyck | a8ccf8a | 2018-04-24 16:47:16 -0500 | [diff] [blame] | 29 | obj-$(CONFIG_PCI_PF_STUB) += pci-pf-stub.o |
Bjorn Helgaas | 3133e6d | 2018-03-09 13:09:29 -0600 | [diff] [blame] | 30 | obj-$(CONFIG_PCI_ECAM) += ecam.o |
Logan Gunthorpe | 5291698 | 2018-10-04 15:27:35 -0600 | [diff] [blame] | 31 | obj-$(CONFIG_PCI_P2PDMA) += p2pdma.o |
Ryan Wilson | 956a920 | 2010-08-02 21:31:05 -0400 | [diff] [blame] | 32 | obj-$(CONFIG_XEN_PCIDEV_FRONTEND) += xen-pcifront.o |
| 33 | |
Cyrille Pitchen | 9de0eec | 2018-01-30 21:56:49 +0100 | [diff] [blame] | 34 | # Endpoint library must be initialized before its users |
Bjorn Helgaas | 3133e6d | 2018-03-09 13:09:29 -0600 | [diff] [blame] | 35 | obj-$(CONFIG_PCI_ENDPOINT) += endpoint/ |
| 36 | |
Alan Douglas | 68bb22e | 2018-06-22 17:17:17 +0100 | [diff] [blame] | 37 | obj-y += controller/ |
| 38 | obj-y += switch/ |
| 39 | |
Junhao He | e8e9aab | 2021-02-04 19:30:15 +0800 | [diff] [blame] | 40 | subdir-ccflags-$(CONFIG_PCI_DEBUG) := -DDEBUG |