Makefile 1.7 KB

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