[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 04/12] S/390 host build system support
From: |
Ulrich Hecht |
Subject: |
[Qemu-devel] [PATCH 04/12] S/390 host build system support |
Date: |
Wed, 21 Oct 2009 15:52:25 +0200 |
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
- [Qemu-devel] [PATCH 00/12] S/390 support, Ulrich Hecht, 2009/10/21
- [Qemu-devel] [PATCH 01/12] TCG "sync" op, Ulrich Hecht, 2009/10/21
- [Qemu-devel] [PATCH 02/12] S/390 disassembler fixes, Ulrich Hecht, 2009/10/21
- [Qemu-devel] [PATCH 03/12] S/390 CPU emulation, Ulrich Hecht, 2009/10/21
- [Qemu-devel] [PATCH 04/12] S/390 host build system support,
Ulrich Hecht <=
- [Qemu-devel] [PATCH 05/12] S/390 target build system support, Ulrich Hecht, 2009/10/21
- [Qemu-devel] [PATCH 06/12] S/390 host support for TCG, Ulrich Hecht, 2009/10/21
- [Qemu-devel] [PATCH 07/12] linux-user: S/390 64-bit (s390x) support, Ulrich Hecht, 2009/10/21
- [Qemu-devel] [PATCH 08/12] linux-user: don't do locking in single-threaded processes, Ulrich Hecht, 2009/10/21
- [Qemu-devel] [PATCH 09/12] linux-user: dup3, fallocate syscalls, Ulrich Hecht, 2009/10/21
- [Qemu-devel] [PATCH 10/12] linux-user: define a couple of syscalls for non-uid16 targets, Ulrich Hecht, 2009/10/21
- [Qemu-devel] [PATCH 11/12] linux-user: getpriority errno fix, Ulrich Hecht, 2009/10/21
- [Qemu-devel] [PATCH 12/12] enable CPU_QuadU for s390x, Ulrich Hecht, 2009/10/21
- Re: [Qemu-devel] [PATCH 02/12] S/390 disassembler fixes, Aurelien Jarno, 2009/10/22
[Qemu-devel] Re: [PATCH 01/12] TCG "sync" op, Aurelien Jarno, 2009/10/22