From 38e584a07279fffcfbfcafb207ce842edd093033 Mon Sep 17 00:00:00 2001 From: bellard Date: Sun, 10 Aug 2003 22:14:22 +0000 Subject: m68k host port (Richard Zidlicky) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@357 c046a42c-6fe2-441c-8c8c-71466251a162 --- configure | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index 2b830710a7..51f8bcc74e 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 -- cgit v1.2.1