Makefile 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. #
  2. # Makefile for the PCI bus specific drivers.
  3. #
  4. obj-y += access.o bus.o probe.o remove.o pci.o \
  5. pci-driver.o search.o pci-sysfs.o rom.o setup-res.o \
  6. irq.o vpd.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. obj-$(CONFIG_PCI_IOAPIC) += ioapic.o
  13. obj-$(CONFIG_HOTPLUG) += hotplug.o
  14. # Build the PCI Hotplug drivers if we were asked to
  15. obj-$(CONFIG_HOTPLUG_PCI) += hotplug/
  16. ifdef CONFIG_HOTPLUG_PCI
  17. obj-y += hotplug-pci.o
  18. endif
  19. # Build the PCI MSI interrupt support
  20. obj-$(CONFIG_PCI_MSI) += msi.o
  21. # Build the Hypertransport interrupt support
  22. obj-$(CONFIG_HT_IRQ) += htirq.o
  23. # Build Intel IOMMU support
  24. obj-$(CONFIG_DMAR) += dmar.o iova.o intel-iommu.o
  25. obj-$(CONFIG_INTR_REMAP) += dmar.o intr_remapping.o
  26. obj-$(CONFIG_PCI_IOV) += iov.o
  27. #
  28. # Some architectures use the generic PCI setup functions
  29. #
  30. obj-$(CONFIG_X86) += setup-bus.o
  31. obj-$(CONFIG_ALPHA) += setup-bus.o setup-irq.o
  32. obj-$(CONFIG_ARM) += setup-bus.o setup-irq.o
  33. obj-$(CONFIG_UNICORE32) += setup-bus.o setup-irq.o
  34. obj-$(CONFIG_PARISC) += setup-bus.o
  35. obj-$(CONFIG_SUPERH) += setup-bus.o setup-irq.o
  36. obj-$(CONFIG_PPC) += setup-bus.o
  37. obj-$(CONFIG_MIPS) += setup-bus.o setup-irq.o
  38. obj-$(CONFIG_X86_VISWS) += setup-irq.o
  39. obj-$(CONFIG_MN10300) += setup-bus.o
  40. obj-$(CONFIG_MICROBLAZE) += setup-bus.o
  41. obj-$(CONFIG_TILE) += setup-bus.o setup-irq.o
  42. obj-$(CONFIG_SPARC_LEON) += setup-bus.o setup-irq.o
  43. #
  44. # ACPI Related PCI FW Functions
  45. # ACPI _DSM provided firmware instance and string name
  46. #
  47. obj-$(CONFIG_ACPI) += pci-acpi.o
  48. # SMBIOS provided firmware instance and labels
  49. obj-$(CONFIG_PCI_LABEL) += pci-label.o
  50. # Cardbus & CompactPCI use setup-bus
  51. obj-$(CONFIG_HOTPLUG) += setup-bus.o
  52. obj-$(CONFIG_PCI_SYSCALL) += syscall.o
  53. obj-$(CONFIG_PCI_STUB) += pci-stub.o
  54. obj-$(CONFIG_XEN_PCIDEV_FRONTEND) += xen-pcifront.o
  55. ccflags-$(CONFIG_PCI_DEBUG) := -DDEBUG