Makefile 1.3 KB
Newer Older
L
Linus Torvalds 已提交
1 2 3 4
#
# Makefile for the PCI bus specific drivers.
#

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 8
			irq.o vpd.o setup-bus.o vc.o mmap.o setup-irq.o

L
Linus Torvalds 已提交
9
obj-$(CONFIG_PROC_FS) += proc.o
10
obj-$(CONFIG_SYSFS) += slot.o
L
Linus Torvalds 已提交
11

12
obj-$(CONFIG_PCI_QUIRKS) += quirks.o
13

14 15 16
# Build PCI Express stuff if needed
obj-$(CONFIG_PCIEPORTBUS) += pcie/

L
Linus Torvalds 已提交
17 18
# Build the PCI Hotplug drivers if we were asked to
obj-$(CONFIG_HOTPLUG_PCI) += hotplug/
19 20 21
ifdef CONFIG_HOTPLUG_PCI
obj-y += hotplug-pci.o
endif
L
Linus Torvalds 已提交
22

23 24 25
# Build the PCI MSI interrupt support
obj-$(CONFIG_PCI_MSI) += msi.o

26 27 28
# Build the Hypertransport interrupt support
obj-$(CONFIG_HT_IRQ) += htirq.o

29
obj-$(CONFIG_PCI_ATS) += ats.o
30 31
obj-$(CONFIG_PCI_IOV) += iov.o

L
Linus Torvalds 已提交
32 33
#
# ACPI Related PCI FW Functions
34
# ACPI _DSM provided firmware instance and string name
L
Linus Torvalds 已提交
35
#
36
obj-$(CONFIG_ACPI)    += pci-acpi.o
L
Linus Torvalds 已提交
37

38
# SMBIOS provided firmware instance and labels
39
obj-$(CONFIG_PCI_LABEL) += pci-label.o
40

41 42 43
# Intel MID platform PM support
obj-$(CONFIG_X86_INTEL_MID) += pci-mid.o

44
obj-$(CONFIG_PCI_SYSCALL) += syscall.o
L
Linus Torvalds 已提交
45

46 47
obj-$(CONFIG_PCI_STUB) += pci-stub.o

48 49
obj-$(CONFIG_PCI_ECAM) += ecam.o

50 51
obj-$(CONFIG_XEN_PCIDEV_FRONTEND) += xen-pcifront.o

52 53
obj-$(CONFIG_OF) += of.o

54
ccflags-$(CONFIG_PCI_DEBUG) := -DDEBUG
55 56 57

# PCI host controller drivers
obj-y += host/
58
obj-y += switch/