Revision e6e5906b configure

b/configure
362 362
    fi
363 363
# the following are Linux specific
364 364
    if [ "$user" = "yes" ] ; then
365
        target_list="i386-user arm-user armeb-user sparc-user ppc-user mips-user mipsel-user $target_list"
365
        target_list="i386-user arm-user armeb-user sparc-user ppc-user mips-user mipsel-user m68k-user $target_list"
366 366
    fi
367 367
else
368 368
    target_list=`echo "$target_list" | sed -e 's/,/ /g'`
......
727 727
[ "$target_cpu" = "ppc64" ] && target_bigendian=yes
728 728
[ "$target_cpu" = "mips" ] && target_bigendian=yes
729 729
[ "$target_cpu" = "sh4eb" ] && target_bigendian=yes
730
[ "$target_cpu" = "m68k" ] && target_bigendian=yes
730 731
target_softmmu="no"
731 732
if expr $target : '.*-softmmu' > /dev/null ; then
732 733
  target_softmmu="yes"
......
822 823
  echo "#define TARGET_ARCH \"sh4\"" >> $config_h
823 824
  echo "#define TARGET_SH4 1" >> $config_h
824 825
  bflt="yes"
826
elif test "$target_cpu" = "m68k" ; then
827
  echo "TARGET_ARCH=m68k" >> $config_mak
828
  echo "#define TARGET_ARCH \"m68k\"" >> $config_h
829
  echo "#define TARGET_M68K 1" >> $config_h
830
  bflt="yes"
825 831
else
826 832
  echo "Unsupported target CPU"
827 833
  exit 1
......
839 845
  echo "#define CONFIG_USER_ONLY 1" >> $config_h
840 846
fi
841 847

  
842
if test "$target_cpu" = "arm" -o "$target_cpu" = "armeb" -o "$target_cpu" = "sparc" -o "$target_cpu" = "sparc64"; then
848
if test "$target_cpu" = "arm" -o "$target_cpu" = "armeb" -o "$target_cpu" = "sparc" -o "$target_cpu" = "sparc64" -o "$target_cpu" = "m68k"; then
843 849
  echo "CONFIG_SOFTFLOAT=yes" >> $config_mak
844 850
  echo "#define CONFIG_SOFTFLOAT 1" >> $config_h
845 851
fi

Also available in: Unified diff