mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
bsd port (Markus Niemisto)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@800 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
fd872598d8
commit
7d3505c55a
9 changed files with 111 additions and 16 deletions
20
configure
vendored
20
configure
vendored
|
@ -79,9 +79,23 @@ case $targetos in
|
|||
MINGW32*)
|
||||
mingw32="yes"
|
||||
;;
|
||||
FreeBSD)
|
||||
bsd="yes"
|
||||
;;
|
||||
NetBSD)
|
||||
bsd="yes"
|
||||
;;
|
||||
OpenBSD)
|
||||
bsd="yes"
|
||||
;;
|
||||
*) ;;
|
||||
esac
|
||||
|
||||
if [ "$bsd" = "yes" ] ; then
|
||||
make="gmake"
|
||||
target_list="i386-softmmu"
|
||||
fi
|
||||
|
||||
# find source path
|
||||
# XXX: we assume an absolute path is given when launching configure,
|
||||
# except in './configure' case.
|
||||
|
@ -373,7 +387,7 @@ fi
|
|||
if test "$mingw32" = "yes" ; then
|
||||
echo "CONFIG_WIN32=yes" >> $config_mak
|
||||
echo "#define CONFIG_WIN32 1" >> $config_h
|
||||
else
|
||||
elif test -f "/usr/include/byteswap.h" ; then
|
||||
echo "#define HAVE_BYTESWAP_H 1" >> $config_h
|
||||
fi
|
||||
if test "$gdbstub" = "yes" ; then
|
||||
|
@ -402,6 +416,10 @@ echo "\"" >> $config_h
|
|||
echo "SRC_PATH=$source_path" >> $config_mak
|
||||
echo "TARGET_DIRS=$target_list" >> $config_mak
|
||||
|
||||
if [ "$bsd" = "yes" ] ; then
|
||||
echo "#define _BSD 1" >> $config_h
|
||||
fi
|
||||
|
||||
for target in $target_list; do
|
||||
|
||||
target_dir="$target"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue