Configure options to enable/disable all softmmu/user targets.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1787 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
8637c67fc5
commit
0a8e90f401
25
configure
vendored
25
configure
vendored
@ -90,6 +90,8 @@ kernel_path=""
|
|||||||
cocoa="no"
|
cocoa="no"
|
||||||
check_gfx="yes"
|
check_gfx="yes"
|
||||||
check_gcc="yes"
|
check_gcc="yes"
|
||||||
|
softmmu="yes"
|
||||||
|
user="no"
|
||||||
|
|
||||||
# OS specific
|
# OS specific
|
||||||
targetos=`uname -s`
|
targetos=`uname -s`
|
||||||
@ -123,6 +125,7 @@ darwin="yes"
|
|||||||
*)
|
*)
|
||||||
oss="yes"
|
oss="yes"
|
||||||
linux="yes"
|
linux="yes"
|
||||||
|
user="yes"
|
||||||
if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ; then
|
if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ; then
|
||||||
kqemu="yes"
|
kqemu="yes"
|
||||||
fi
|
fi
|
||||||
@ -208,6 +211,14 @@ for opt do
|
|||||||
;;
|
;;
|
||||||
--disable-gcc-check) check_gcc="no"
|
--disable-gcc-check) check_gcc="no"
|
||||||
;;
|
;;
|
||||||
|
--disable-softmmu) softmmu="no"
|
||||||
|
;;
|
||||||
|
--enable-softmmu) softmmu="yes"
|
||||||
|
;;
|
||||||
|
--disable-user) user="no"
|
||||||
|
;;
|
||||||
|
--enable-user) user="yes"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
@ -232,14 +243,20 @@ fi
|
|||||||
|
|
||||||
if test -z "$target_list" ; then
|
if test -z "$target_list" ; then
|
||||||
# these targets are portable
|
# these targets are portable
|
||||||
target_list="i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu mips-softmmu mipsel-softmmu arm-softmmu"
|
if [ "$softmmu" = "yes" ] ; then
|
||||||
|
target_list="i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu mips-softmmu mipsel-softmmu arm-softmmu"
|
||||||
|
fi
|
||||||
# the following are Linux specific
|
# the following are Linux specific
|
||||||
if [ "$linux" = "yes" ] ; then
|
if [ "$user" = "yes" ] ; then
|
||||||
target_list="i386-user arm-user armeb-user sparc-user ppc-user mips-user mipsel-user $target_list"
|
target_list="i386-user arm-user armeb-user sparc-user ppc-user mips-user mipsel-user $target_list"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
target_list=$(echo "$target_list" | sed -e 's/,/ /g')
|
target_list=$(echo "$target_list" | sed -e 's/,/ /g')
|
||||||
fi
|
fi
|
||||||
|
if test -z "$target_list" ; then
|
||||||
|
echo "No targets enabled"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
if test -z "$cross_prefix" ; then
|
if test -z "$cross_prefix" ; then
|
||||||
|
|
||||||
@ -385,6 +402,10 @@ echo " --enable-coreaudio enable Coreaudio audio driver"
|
|||||||
echo " --enable-alsa enable ALSA audio driver"
|
echo " --enable-alsa enable ALSA audio driver"
|
||||||
echo " --enable-fmod enable FMOD audio driver"
|
echo " --enable-fmod enable FMOD audio driver"
|
||||||
echo " --enabled-dsound enable DirectSound audio driver"
|
echo " --enabled-dsound enable DirectSound audio driver"
|
||||||
|
echo " --enable-system enable all system emulation targets"
|
||||||
|
echo " --disable-system disable all system emulation targets"
|
||||||
|
echo " --enable-user enable all linux usermode emulation targets"
|
||||||
|
echo " --disable-user disable all linux usermode emulation targets"
|
||||||
echo " --fmod-lib path to FMOD library"
|
echo " --fmod-lib path to FMOD library"
|
||||||
echo " --fmod-inc path to FMOD includes"
|
echo " --fmod-inc path to FMOD includes"
|
||||||
echo ""
|
echo ""
|
||||||
|
Loading…
Reference in New Issue
Block a user