mirror of https://gitee.com/openkylin/qemu.git
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>
This commit is contained in:
parent
6ed2c484f2
commit
0e1a275bd4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue