From b3a29fd5604841dac8bfee1bac35f150cab976fb Mon Sep 17 00:00:00 2001 From: Isaku Yamahata Date: Wed, 22 Dec 2010 19:54:48 +0900 Subject: build, pci: remove QMP dependency on core PCI code by introducing pci-stub.c, eliminate QMP dependency on core PCI code rquired by query-pci command. Signed-off-by: Isaku Yamahata Signed-off-by: Michael S. Tsirkin --- Makefile.target | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile.target') diff --git a/Makefile.target b/Makefile.target index d08f5dd..38582d4 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 -- cgit v1.1