diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-04-18 19:25:43 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-04-18 19:25:43 +0000 |
commit | 2d6ebb0c2c4152545677ce92ccd4684eb20b931a (patch) | |
tree | 4e7896bea5fc585aa6627eb725fcaee6ea5b52dd /configure | |
parent | e5289087edbb66ac02729211ec46cfb7acbd5f1c (diff) |
kqemu: only compile kqemu.o if actually needed
kqemu.o is compiled even if kqemu support is disabled. This is useless
(kqemu.o should provide nothing that is actually used in that case) and
slightly confusing. So introduce CONFIG_KQEMU for optionally compiling
kqemu.o.
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7185 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1769,6 +1769,7 @@ case "$target_cpu" in echo "#define TARGET_I386 1" >> $config_h if test $kqemu = "yes" -a "$target_softmmu" = "yes" then + echo "CONFIG_KQEMU=yes" >> $config_mak echo "#define USE_KQEMU 1" >> $config_h fi if test "$kvm" = "yes" ; then @@ -1784,6 +1785,7 @@ case "$target_cpu" in echo "#define TARGET_X86_64 1" >> $config_h if test $kqemu = "yes" -a "$target_softmmu" = "yes" -a $cpu = "x86_64" then + echo "CONFIG_KQEMU=yes" >> $config_mak echo "#define USE_KQEMU 1" >> $config_h fi if test "$kvm" = "yes" ; then |