Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fs2lT-0005hq-GA for qemu-devel@nongnu.org; Sun, 18 Jun 2006 15:16:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fs2lS-0005gb-Kn for qemu-devel@nongnu.org; Sun, 18 Jun 2006 15:16:54 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fs2lS-0005gE-EH for qemu-devel@nongnu.org; Sun, 18 Jun 2006 15:16:54 -0400 Received: from [199.232.41.3] (helo=savannah.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fs2va-0002ig-RA for qemu-devel@nongnu.org; Sun, 18 Jun 2006 15:27:22 -0400 Received: from savannah.gnu.org ([127.0.0.1]) by savannah.gnu.org with esmtp (Exim 3.36 #1 (Debian)) id 1Fs2lR-0004yt-00 for ; Sun, 18 Jun 2006 15:16:53 -0400 Received: from pbrook by savannah.gnu.org with local (Exim 4.50) id 1Fs2lR-0004yp-M9 for qemu-devel@nongnu.org; Sun, 18 Jun 2006 19:16:53 +0000 Message-Id: From: Paul Brook Date: Sun, 18 Jun 2006 19:16:53 +0000 Subject: [Qemu-devel] qemu Makefile.target configure Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org CVSROOT: /sources/qemu Module name: qemu Changes by: Paul Brook 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