/[qemu]/qemu/configure
ViewVC logotype

Diff of /qemu/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.22 by bellard, Sun Nov 16 23:18:16 2003 UTC revision 1.23 by bellard, Sun Nov 23 17:05:30 2003 UTC
# Line 27  ar="ar" Line 27  ar="ar"
27  make="make"  make="make"
28  strip="strip"  strip="strip"
29  cpu=`uname -m`  cpu=`uname -m`
30  target_list="i386-user i386 i386-softmmu arm-user sparc-user"  target_list="i386-user i386 i386-softmmu arm-user sparc-user ppc-user"
31  case "$cpu" in  case "$cpu" in
32    i386|i486|i586|i686|i86pc|BePC)    i386|i486|i586|i686|i86pc|BePC)
33      cpu="i386"      cpu="i386"
# Line 322  config_h=$target_dir/config.h Line 322  config_h=$target_dir/config.h
322  target_cpu=`echo $target | cut -d '-' -f 1`  target_cpu=`echo $target | cut -d '-' -f 1`
323  target_bigendian="no"  target_bigendian="no"
324  [ "$target_cpu" = "sparc" ] && target_bigendian=yes  [ "$target_cpu" = "sparc" ] && target_bigendian=yes
325    [ "$target_cpu" = "ppc" ] && target_bigendian=yes
326  target_softmmu="no"  target_softmmu="no"
327  if expr $target : '.*-softmmu' > /dev/null ; then  if expr $target : '.*-softmmu' > /dev/null ; then
328    target_softmmu="yes"    target_softmmu="yes"
# Line 358  elif test "$target_cpu" = "sparc" ; then Line 359  elif test "$target_cpu" = "sparc" ; then
359    echo "TARGET_ARCH=sparc" >> $config_mak    echo "TARGET_ARCH=sparc" >> $config_mak
360    echo "#define TARGET_ARCH \"sparc\"" >> $config_h    echo "#define TARGET_ARCH \"sparc\"" >> $config_h
361    echo "#define TARGET_SPARC 1" >> $config_h    echo "#define TARGET_SPARC 1" >> $config_h
362    elif test "$target_cpu" = "ppc" ; then
363      echo "TARGET_ARCH=ppc" >> $config_mak
364      echo "#define TARGET_ARCH \"ppc\"" >> $config_h
365      echo "#define TARGET_PPC 1" >> $config_h
366  else  else
367    echo "Unsupported target CPU"    echo "Unsupported target CPU"
368    exit 1    exit 1

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26