From patchwork Tue Apr 6 11:31:29 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Add KVM CFLAGS to vhost build Date: Tue, 06 Apr 2010 01:31:29 -0000 From: Jan Kiszka X-Patchwork-Id: 49495 Message-Id: <4BBB1B91.90805@siemens.com> To: Anthony Liguori Cc: qemu-devel , "Michael S. Tsirkin" The configure test of vhost uses KVM CFLAGS, so the build must use them as well. Otherwise we specifically miss what --kerneldir provides. Signed-off-by: Jan Kiszka Acked-by: Michael S. Tsirkin --- Makefile.target | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile.target b/Makefile.target index 45cbe56..6fc3034 100644 --- a/Makefile.target +++ b/Makefile.target @@ -32,7 +32,7 @@ PROGS=$(QEMU_PROG) LIBS+=-lm -kvm.o kvm-all.o: QEMU_CFLAGS+=$(KVM_CFLAGS) +kvm.o kvm-all.o vhost.o vhost_net.o: QEMU_CFLAGS+=$(KVM_CFLAGS) config-target.h: config-target.h-timestamp config-target.h-timestamp: config-target.mak