From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AM1Qv-0008Hm-K2 for qemu-devel@nongnu.org; Tue, 18 Nov 2003 03:42:01 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AM1QP-0007yj-1A for qemu-devel@nongnu.org; Tue, 18 Nov 2003 03:42:00 -0500 Received: from [62.210.158.41] (helo=moscou.magic.fr) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AM1QJ-0007y9-7v for qemu-devel@nongnu.org; Tue, 18 Nov 2003 03:41:23 -0500 Received: from 10.0.0.2 (ppp-181.net-555.magic.fr [62.210.255.181]) by moscou.magic.fr (8.11.6/8.10.1) with ESMTP id hAI7duO03093 for ; Tue, 18 Nov 2003 08:39:56 +0100 (CET) Subject: Re: [Qemu-devel] [ADD] PPC processor emulation From: "J. Mayer" In-Reply-To: <1069140512.14646.2174.camel@rapid> References: <20031117105133.7e856e56.Jens.Arm@gmx.de> <1069140512.14646.2174.camel@rapid> Content-Type: text/plain Message-Id: <1069141479.14646.2208.camel@rapid> Mime-Version: 1.0 Date: 18 Nov 2003 08:44:40 +0100 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org configure.diff Add ppc-user target. diff -urNbB -x CVS qemu-current/configure qemu/configure --- qemu-current/configure Tue Nov 18 06:51:06 2003 +++ qemu/configure Tue Nov 18 06:03:20 2003 @@ -27,7 +27,7 @@ make="make" strip="strip" cpu=`uname -m` -target_list="i386-user i386 i386-softmmu arm-user sparc-user" +target_list="i386-user i386 i386-softmmu arm-user sparc-user ppc-user" case "$cpu" in i386|i486|i586|i686|i86pc|BePC) cpu="i386" @@ -358,6 +358,11 @@ echo "TARGET_ARCH=sparc" >> $config_mak echo "#define TARGET_ARCH \"sparc\"" >> $config_h echo "#define TARGET_SPARC 1" >> $config_h +elif test "$target_cpu" = "ppc" ; then + echo "TARGET_ARCH=ppc" >> $config_mak + echo "#define TARGET_ARCH \"ppc\"" >> $config_h + echo "#define TARGET_PPC 1" >> $config_h + target_bigendian="yes" else echo "Unsupported target CPU" exit 1