Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # SPDX-License-Identifier: GPL-2.0
  2. #
  3. # Makefile for the PCI bus specific drivers.
  4. #
  5. obj-y += access.o bus.o probe.o host-bridge.o remove.o pci.o \
  6. pci-driver.o search.o pci-sysfs.o rom.o setup-res.o \
  7. irq.o vpd.o setup-bus.o vc.o mmap.o setup-irq.o
  8. obj-$(CONFIG_PROC_FS) += proc.o
  9. obj-$(CONFIG_SYSFS) += slot.o
  10. obj-$(CONFIG_PCI_QUIRKS) += quirks.o
  11. # Build PCI Express stuff if needed
  12. obj-$(CONFIG_PCIEPORTBUS) += pcie/
  13. # Build the PCI Hotplug drivers if we were asked to
  14. obj-$(CONFIG_HOTPLUG_PCI) += hotplug/
  15. ifdef CONFIG_HOTPLUG_PCI
  16. obj-y += hotplug-pci.o
  17. endif
  18. # Build the PCI MSI interrupt support
  19. obj-$(CONFIG_PCI_MSI) += msi.o
  20. # Build the Hypertransport interrupt support
  21. obj-$(CONFIG_HT_IRQ) += htirq.o
  22. obj-$(CONFIG_PCI_ATS) += ats.o
  23. obj-$(CONFIG_PCI_IOV) += iov.o
  24. #
  25. # ACPI Related PCI FW Functions
  26. # ACPI _DSM provided firmware instance and string name
  27. #
  28. obj-$(CONFIG_ACPI) += pci-acpi.o
  29. # SMBIOS provided firmware instance and labels
  30. obj-$(CONFIG_PCI_LABEL) += pci-label.o
  31. # Intel MID platform PM support
  32. obj-$(CONFIG_X86_INTEL_MID) += pci-mid.o
  33. obj-$(CONFIG_PCI_SYSCALL) += syscall.o
  34. obj-$(CONFIG_PCI_STUB) += pci-stub.o
  35. obj-$(CONFIG_PCI_ECAM) += ecam.o
  36. obj-$(CONFIG_XEN_PCIDEV_FRONTEND) += xen-pcifront.o
  37. obj-$(CONFIG_OF) += of.o
  38. ccflags-$(CONFIG_PCI_DEBUG) := -DDEBUG
  39. # PCI host controller drivers
  40. obj-y += host/
  41. obj-y += switch/