Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N0bbt-0005O3-2s for qemu-devel@nongnu.org; Wed, 21 Oct 2009 09:52:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N0bbk-0005Fq-Sb for qemu-devel@nongnu.org; Wed, 21 Oct 2009 09:52:13 -0400 Received: from [199.232.76.173] (port=37608 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N0bbk-0005FU-O4 for qemu-devel@nongnu.org; Wed, 21 Oct 2009 09:52:08 -0400 Received: from cantor.suse.de ([195.135.220.2]:54498 helo=mx1.suse.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N0bbj-0005N9-Sd for qemu-devel@nongnu.org; Wed, 21 Oct 2009 09:52:08 -0400 From: Ulrich Hecht Date: Wed, 21 Oct 2009 15:52:25 +0200 Message-Id: <1256133153-3121-5-git-send-email-uli@suse.de> In-Reply-To: <1256133153-3121-4-git-send-email-uli@suse.de> References: <1256133153-3121-1-git-send-email-uli@suse.de> <1256133153-3121-2-git-send-email-uli@suse.de> <1256133153-3121-3-git-send-email-uli@suse.de> <1256133153-3121-4-git-send-email-uli@suse.de> Subject: [Qemu-devel] [PATCH 04/12] S/390 host build system support List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: aurelien@aurel32.net Cc: riku.voipio@iki.fi, qemu-devel@nongnu.org, agraf@suse.de changes to configure and makefiles for S/390 host support --- configure | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 350c742..df984a3 100755 --- a/configure +++ b/configure @@ -157,9 +157,12 @@ case "$cpu" in parisc|parisc64) cpu="hppa" ;; - s390*) + s390) cpu="s390" ;; + s390x) + cpu="s390x" + ;; sparc|sun4[cdmuv]) cpu="sparc" ;; @@ -855,7 +858,7 @@ fi # host long bits test hostlongbits="32" case "$cpu" in - x86_64|alpha|ia64|sparc64|ppc64) + x86_64|alpha|ia64|sparc64|ppc64|s390x) hostlongbits=64 ;; esac @@ -1819,7 +1822,7 @@ echo >> $config_host_mak echo "CONFIG_QEMU_SHAREDIR=\"$prefix$datasuffix\"" >> $config_host_mak case "$cpu" in - i386|x86_64|alpha|cris|hppa|ia64|m68k|microblaze|mips|mips64|ppc|ppc64|s390|sparc|sparc64) + i386|x86_64|alpha|cris|hppa|ia64|m68k|microblaze|mips|mips64|ppc|ppc64|s390|s390x|sparc|sparc64) ARCH=$cpu ;; armv4b|armv4l) @@ -2351,6 +2354,8 @@ ldflags="" if test "$ARCH" = "sparc64" ; then cflags="-I\$(SRC_PATH)/tcg/sparc $cflags" +elif test "$ARCH" = "s390x" ; then + cflags="-I\$(SRC_PATH)/tcg/s390 $cflags" else cflags="-I\$(SRC_PATH)/tcg/\$(ARCH) $cflags" fi -- 1.6.2.1