Native BSD host USB support (Juergen Lock, Lonnie Mendez)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5780 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
blueswir1 2008-11-22 21:03:55 +00:00
parent 6972f93538
commit 6806364989
5 changed files with 673 additions and 24 deletions

15
configure vendored
View file

@ -221,6 +221,7 @@ audio_drv_list="oss"
audio_possible_drivers="oss alsa sdl esd pa"
linux="yes"
linux_user="yes"
usb="linux"
if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ; then
kqemu="yes"
audio_possible_drivers="$audio_possible_drivers fmod"
@ -231,6 +232,7 @@ esac
if [ "$bsd" = "yes" ] ; then
if [ "$darwin" != "yes" ] ; then
make="gmake"
usb="bsd"
fi
bsd_user="yes"
fi
@ -1365,6 +1367,19 @@ fi
echo "#define CONFIG_UNAME_RELEASE \"$uname_release\"" >> $config_h
# USB host support
case "$usb" in
linux)
echo "HOST_USB=linux" >> $config_mak
;;
bsd)
echo "HOST_USB=bsd" >> $config_mak
;;
*)
echo "HOST_USB=stub" >> $config_mak
;;
esac
tools=
if test `expr "$target_list" : ".*softmmu.*"` != 0 ; then
tools="qemu-img\$(EXESUF) $tools"