summaryrefslogtreecommitdiff
path: root/Makefile.target
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2010-04-06 13:31:29 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2010-05-03 12:39:12 -0500
commit0e1a275bd4a9b0eb6a567f21366074bda4a8d336 (patch)
treeebf4eb39c093550ce3c2345a3cfadee530a61d53 /Makefile.target
parent6ed2c484f261fd8bd217f855b9e5e5f981e63f0a (diff)
Add KVM CFLAGS to vhost build
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 <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'Makefile.target')
-rw-r--r--Makefile.target2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.target b/Makefile.target
index 7ea753b8f..c0929002c 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -33,7 +33,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