Makefile 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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. obj-$(CONFIG_PCI_ATS) += ats.o
  24. obj-$(CONFIG_PCI_IOV) += iov.o
  25. #
  26. # Some architectures use the generic PCI setup functions
  27. #
  28. obj-$(CONFIG_X86) += setup-bus.o
  29. obj-$(CONFIG_ALPHA) += setup-bus.o setup-irq.o
  30. obj-$(CONFIG_ARM) += setup-bus.o setup-irq.o
  31. obj-$(CONFIG_UNICORE32) += setup-bus.o setup-irq.o
  32. obj-$(CONFIG_PARISC) += setup-bus.o
  33. obj-$(CONFIG_SUPERH) += setup-bus.o setup-irq.o
  34. obj-$(CONFIG_PPC) += setup-bus.o
  35. obj-$(CONFIG_FRV) += setup-bus.o
  36. obj-$(CONFIG_MIPS) += setup-bus.o setup-irq.o
  37. obj-$(CONFIG_X86_VISWS) += setup-irq.o
  38. obj-$(CONFIG_MN10300) += setup-bus.o
  39. obj-$(CONFIG_MICROBLAZE) += setup-bus.o
  40. obj-$(CONFIG_TILE) += setup-bus.o setup-irq.o
  41. obj-$(CONFIG_SPARC_LEON) += setup-bus.o setup-irq.o
  42. #
  43. # ACPI Related PCI FW Functions
  44. # ACPI _DSM provided firmware instance and string name
  45. #
  46. obj-$(CONFIG_ACPI) += pci-acpi.o
  47. # SMBIOS provided firmware instance and labels
  48. obj-$(CONFIG_PCI_LABEL) += pci-label.o
  49. # Cardbus & CompactPCI use setup-bus
  50. obj-$(CONFIG_HOTPLUG) += setup-bus.o
  51. obj-$(CONFIG_PCI_SYSCALL) += syscall.o
  52. obj-$(CONFIG_PCI_STUB) += pci-stub.o
  53. obj-$(CONFIG_XEN_PCIDEV_FRONTEND) += xen-pcifront.o
  54. obj-$(CONFIG_OF) += of.o
  55. ccflags-$(CONFIG_PCI_DEBUG) := -DDEBUG