aboutsummaryrefslogtreecommitdiff
path: root/Makefile.target
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-01-10 10:32:01 -0600
committerAnthony Liguori <aliguori@us.ibm.com>2011-01-10 10:32:01 -0600
commita7bd621d7a270645fb98426c82a0b251fdbc6000 (patch)
treeea7baf4b742064e092985f5c15d6579fbc6db20f /Makefile.target
parent8aaf42ed0f203da63860b0a3ab3ff2bdfe9b4cb0 (diff)
parenta6a7005d14b3c32d4864a718fb1cb19c789f58a5 (diff)
Merge remote branch 'mst/for_anthony' into staging
Diffstat (limited to 'Makefile.target')
-rw-r--r--Makefile.target2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.target b/Makefile.target
index a5e217edc3..e15b1c4fb6 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -1,6 +1,7 @@
# -*- Mode: makefile -*-
GENERATED_HEADERS = config-target.h
+CONFIG_NO_PCI = $(if $(subst n,,$(CONFIG_PCI)),n,y)
CONFIG_NO_KVM = $(if $(subst n,,$(CONFIG_KVM)),n,y)
include ../config-host.mak
@@ -188,6 +189,7 @@ ifdef CONFIG_SOFTMMU
obj-y = arch_init.o cpus.o monitor.o machine.o gdbstub.o balloon.o
# virtio has to be here due to weird dependency between PCI and virtio-net.
# need to fix this properly
+obj-$(CONFIG_NO_PCI) += pci-stub.o
obj-$(CONFIG_VIRTIO) += virtio-blk.o virtio-balloon.o virtio-net.o virtio-serial-bus.o
obj-$(CONFIG_VIRTIO_PCI) += virtio-pci.o
obj-y += vhost_net.o