Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #
  2. # Makefile for the PCI bus specific drivers.
  3. #
  4. obj-y += access.o bus.o probe.o remove.o pci.o quirks.o \
  5. pci-driver.o search.o pci-sysfs.o rom.o setup-res.o
  6. obj-$(CONFIG_PROC_FS) += proc.o
  7. # Build PCI Express stuff if needed
  8. obj-$(CONFIG_PCIEPORTBUS) += pcie/
  9. obj-$(CONFIG_HOTPLUG) += hotplug.o
  10. # Build the PCI Hotplug drivers if we were asked to
  11. obj-$(CONFIG_HOTPLUG_PCI) += hotplug/
  12. # Build the PCI MSI interrupt support
  13. obj-$(CONFIG_PCI_MSI) += msi.o
  14. # Build the Hypertransport interrupt support
  15. obj-$(CONFIG_HT_IRQ) += htirq.o
  16. #
  17. # Some architectures use the generic PCI setup functions
  18. #
  19. obj-$(CONFIG_X86) += setup-bus.o
  20. obj-$(CONFIG_ALPHA) += setup-bus.o setup-irq.o
  21. obj-$(CONFIG_ARM) += setup-bus.o setup-irq.o
  22. obj-$(CONFIG_PARISC) += setup-bus.o
  23. obj-$(CONFIG_SUPERH) += setup-bus.o setup-irq.o
  24. obj-$(CONFIG_PPC32) += setup-irq.o
  25. obj-$(CONFIG_PPC64) += setup-bus.o
  26. obj-$(CONFIG_MIPS) += setup-bus.o setup-irq.o
  27. obj-$(CONFIG_X86_VISWS) += setup-irq.o
  28. #
  29. # ACPI Related PCI FW Functions
  30. #
  31. obj-$(CONFIG_ACPI) += pci-acpi.o
  32. # Cardbus & CompactPCI use setup-bus
  33. obj-$(CONFIG_HOTPLUG) += setup-bus.o
  34. ifndef CONFIG_X86
  35. obj-y += syscall.o
  36. endif
  37. ifeq ($(CONFIG_PCI_DEBUG),y)
  38. EXTRA_CFLAGS += -DDEBUG
  39. endif