CVSROOT: /sources/qemu Module name: qemu Changes by: Paul Brook <pbrook> 06/06/18 19:16:53
Modified files: . : Makefile.target configure Log message: Add big-endian SH4-user target CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/Makefile.target?cvsroot=qemu&r1=1.116&r2=1.117 http://cvs.savannah.gnu.org/viewcvs/qemu/configure?cvsroot=qemu&r1=1.107&r2=1.108 Patches: Index: Makefile.target =================================================================== RCS file: /sources/qemu/qemu/Makefile.target,v retrieving revision 1.116 retrieving revision 1.117 diff -u -b -r1.116 -r1.117 --- Makefile.target 14 Jun 2006 18:17:46 -0000 1.116 +++ Makefile.target 18 Jun 2006 19:16:53 -0000 1.117 @@ -30,6 +30,11 @@ TARGET_ARCH2=armeb endif endif +ifeq ($(TARGET_ARCH),sh4) + ifeq ($(TARGET_WORDS_BIGENDIAN),yes) + TARGET_ARCH2=sh4eb + endif +endif ifeq ($(TARGET_ARCH),mips) ifneq ($(TARGET_WORDS_BIGENDIAN),yes) TARGET_ARCH2=mipsel Index: configure =================================================================== RCS file: /sources/qemu/qemu/configure,v retrieving revision 1.107 retrieving revision 1.108 diff -u -b -r1.107 -r1.108 --- configure 17 Jun 2006 20:01:14 -0000 1.107 +++ configure 18 Jun 2006 19:16:53 -0000 1.108 @@ -737,6 +737,7 @@ [ "$target_cpu" = "ppc" ] && target_bigendian=yes [ "$target_cpu" = "ppc64" ] && target_bigendian=yes [ "$target_cpu" = "mips" ] && target_bigendian=yes +[ "$target_cpu" = "sh4eb" ] && target_bigendian=yes target_softmmu="no" if expr $target : '.*-softmmu' > /dev/null ; then target_softmmu="yes" @@ -827,7 +828,7 @@ echo "#define TARGET_MIPS 1" >> $config_h echo "CONFIG_SOFTFLOAT=yes" >> $config_mak echo "#define CONFIG_SOFTFLOAT 1" >> $config_h -elif test "$target_cpu" = "sh4" ; then +elif test "$target_cpu" = "sh4" -o "$target_cpu" = "sh4eb" ; then echo "TARGET_ARCH=sh4" >> $config_mak echo "#define TARGET_ARCH \"sh4\"" >> $config_h echo "#define TARGET_SH4 1" >> $config_h _______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel