aboutsummaryrefslogtreecommitdiff
path: root/Makefile.objs
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2010-12-08 17:46:24 +0900
committerMichael S. Tsirkin <mst@redhat.com>2010-12-09 12:48:23 +0200
commit624c716cc576ec5e6bed50da3deb45aa9537cacd (patch)
treedeffb65db7e429505e8f0fd1bc5142a48159ae58 /Makefile.objs
parent4a9dd6658268a942a8ea230f950a951229355cbb (diff)
Makefile: make msix/msi depend on CONFIG_PCI
Possible now that pci is not depending on these. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'Makefile.objs')
-rw-r--r--Makefile.objs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.objs b/Makefile.objs
index 04625eb10f..d1e63ce8e3 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -168,7 +168,8 @@ hw-obj-$(CONFIG_VIRTIO) += virtio.o virtio-console.o
hw-obj-y += fw_cfg.o
# FIXME: Core PCI code and its direct dependencies are required by the
# QMP query-pci command.
-hw-obj-y += pci.o pci_bridge.o msix.o msi.o
+hw-obj-y += pci.o pci_bridge.o
+hw-obj-$(CONFIG_PCI) += msix.o msi.o
hw-obj-$(CONFIG_PCI) += pci_host.o pcie_host.o
hw-obj-$(CONFIG_PCI) += ioh3420.o xio3130_upstream.o xio3130_downstream.o
hw-obj-y += watchdog.o