提交 0d46b7ed 编写于 作者: J Juan Quintela 提交者: Anthony Liguori

configure kqemu in a single place

Signed-off-by: NJuan Quintela <quintela@redhat.com>
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
上级 c59249f9
......@@ -1970,11 +1970,6 @@ case "$target_arch2" in
echo "TARGET_ARCH=i386" >> $config_mak
echo "#define TARGET_ARCH \"i386\"" >> $config_h
echo "#define TARGET_I386 1" >> $config_h
if test $kqemu = "yes" -a "$target_softmmu" = "yes"
then
echo "CONFIG_KQEMU=y" >> $config_mak
echo "#define CONFIG_KQEMU 1" >> $config_h
fi
target_phys_bits=32
;;
x86_64)
......@@ -1983,11 +1978,6 @@ case "$target_arch2" in
echo "#define TARGET_ARCH \"x86_64\"" >> $config_h
echo "#define TARGET_I386 1" >> $config_h
echo "#define TARGET_X86_64 1" >> $config_h
if test $kqemu = "yes" -a "$target_softmmu" = "yes" -a $cpu = "x86_64"
then
echo "CONFIG_KQEMU=y" >> $config_mak
echo "#define CONFIG_KQEMU 1" >> $config_h
fi
target_phys_bits=64
;;
alpha)
......@@ -2145,6 +2135,11 @@ case "$target_arch2" in
echo "CONFIG_XEN=y" >> $config_mak
echo "#define CONFIG_XEN 1" >> $config_h
fi
if test $kqemu = "yes" -a "$target_softmmu" = "yes"
then
echo "CONFIG_KQEMU=y" >> $config_mak
echo "#define CONFIG_KQEMU 1" >> $config_h
fi
esac
case "$target_arch2" in
i386|x86_64|ppcemb)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册