Commit 0d46b7ed451cc0a50be794361e7309eb4bf6f7b1

Authored by Juan Quintela
Committed by Anthony Liguori
1 parent c59249f9

configure kqemu in a single place

Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Showing 1 changed file with 5 additions and 10 deletions
configure
... ... @@ -1970,11 +1970,6 @@ case &quot;$target_arch2&quot; in
1970 1970 echo "TARGET_ARCH=i386" >> $config_mak
1971 1971 echo "#define TARGET_ARCH \"i386\"" >> $config_h
1972 1972 echo "#define TARGET_I386 1" >> $config_h
1973   - if test $kqemu = "yes" -a "$target_softmmu" = "yes"
1974   - then
1975   - echo "CONFIG_KQEMU=y" >> $config_mak
1976   - echo "#define CONFIG_KQEMU 1" >> $config_h
1977   - fi
1978 1973 target_phys_bits=32
1979 1974 ;;
1980 1975 x86_64)
... ... @@ -1983,11 +1978,6 @@ case &quot;$target_arch2&quot; in
1983 1978 echo "#define TARGET_ARCH \"x86_64\"" >> $config_h
1984 1979 echo "#define TARGET_I386 1" >> $config_h
1985 1980 echo "#define TARGET_X86_64 1" >> $config_h
1986   - if test $kqemu = "yes" -a "$target_softmmu" = "yes" -a $cpu = "x86_64"
1987   - then
1988   - echo "CONFIG_KQEMU=y" >> $config_mak
1989   - echo "#define CONFIG_KQEMU 1" >> $config_h
1990   - fi
1991 1981 target_phys_bits=64
1992 1982 ;;
1993 1983 alpha)
... ... @@ -2145,6 +2135,11 @@ case &quot;$target_arch2&quot; in
2145 2135 echo "CONFIG_XEN=y" >> $config_mak
2146 2136 echo "#define CONFIG_XEN 1" >> $config_h
2147 2137 fi
  2138 + if test $kqemu = "yes" -a "$target_softmmu" = "yes"
  2139 + then
  2140 + echo "CONFIG_KQEMU=y" >> $config_mak
  2141 + echo "#define CONFIG_KQEMU 1" >> $config_h
  2142 + fi
2148 2143 esac
2149 2144 case "$target_arch2" in
2150 2145 i386|x86_64|ppcemb)
... ...