From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:41203) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhcPK-0002gT-3Q for qemu-devel@nongnu.org; Wed, 29 May 2013 05:11:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UhcPB-0003hZ-Np for qemu-devel@nongnu.org; Wed, 29 May 2013 05:10:58 -0400 Received: from lhrrgout.huawei.com ([194.213.3.17]:18109) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhcPB-0003hR-Eu for qemu-devel@nongnu.org; Wed, 29 May 2013 05:10:49 -0400 Message-ID: <51A5C5ED.90103@huawei.com> Date: Wed, 29 May 2013 11:10:05 +0200 From: Claudio Fontana MIME-Version: 1.0 References: <51A5C4A1.1020700@huawei.com> In-Reply-To: <51A5C4A1.1020700@huawei.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH v4 3/3] configure: permit compilation on arm aarch64 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Laurent Desnogues , Jani Kokkonen , "qemu-devel@nongnu.org" , Richard Henderson support compiling on aarch64. Reviewed-by: Peter Maydell Signed-off-by: Claudio Fontana --- configure | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configure b/configure index eb74510..f021bdd 100755 --- a/configure +++ b/configure @@ -385,6 +385,8 @@ elif check_define __s390__ ; then fi elif check_define __arm__ ; then cpu="arm" +elif check_define __aarch64__ ; then + cpu="aarch64" elif check_define __hppa__ ; then cpu="hppa" else @@ -407,6 +409,9 @@ case "$cpu" in armv*b|armv*l|arm) cpu="arm" ;; + aarch64) + cpu="aarch64" + ;; hppa|parisc|parisc64) cpu="hppa" ;; @@ -4127,6 +4132,9 @@ if test "$linux" = "yes" ; then s390x) linux_arch=s390 ;; + aarch64) + linux_arch=arm64 + ;; *) # For most CPUs the kernel architecture name and QEMU CPU name match. linux_arch="$cpu" -- 1.8.1