summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-08-10 22:14:22 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-08-10 22:14:22 +0000
commit38e584a07279fffcfbfcafb207ce842edd093033 (patch)
tree574d309b088a86987dd8bab48844d71996fdb76e /configure
parent313aa567104a63fbe84d6ec2eeff5b5c81cb3524 (diff)
m68k host port (Richard Zidlicky)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@357 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure b/configure
index 2b830710a..51f8bcc74 100755
--- a/configure
+++ b/configure
@@ -56,6 +56,9 @@ case "$cpu" in
ia64)
cpu="ia64"
;;
+ m68k)
+ cpu="m68k"
+ ;;
*)
cpu="unknown"
;;
@@ -163,7 +166,7 @@ fi
else
# if cross compiling, cannot launch a program, so make a static guess
-if test "$cpu" = "powerpc" -o "$cpu" = "mips" -o "$cpu" = "s390" -o "$cpu" = "sparc" -o "$cpu" = "sparc64"; then
+if test "$cpu" = "powerpc" -o "$cpu" = "mips" -o "$cpu" = "s390" -o "$cpu" = "sparc" -o "$cpu" = "sparc64" -o "$cpu" = "m68k"; then
bigendian="yes"
fi
@@ -265,6 +268,9 @@ elif test "$cpu" = "sparc64" ; then
elif test "$cpu" = "ia64" ; then
echo "ARCH=ia64" >> $config_mak
echo "#define HOST_IA64 1" >> $config_h
+elif test "$cpu" = "m68k" ; then
+ echo "ARCH=m68k" >> config.mak
+ echo "#define HOST_M68K 1" >> $TMPH
else
echo "Unsupported CPU"
exit 1