From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35509) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UmnqN-00038v-Ja for qemu-devel@nongnu.org; Wed, 12 Jun 2013 12:24:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UmnqI-0008Ew-Rw for qemu-devel@nongnu.org; Wed, 12 Jun 2013 12:24:19 -0400 Received: from 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.d.1.0.0.b.8.0.1.0.0.2.ip6.arpa ([2001:8b0:1d0::1]:57911 helo=mnementh.archaic.org.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UmnqI-0008EM-Ll for qemu-devel@nongnu.org; Wed, 12 Jun 2013 12:24:14 -0400 From: Peter Maydell Date: Wed, 12 Jun 2013 16:57:24 +0100 Message-Id: <1371052645-9006-13-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1371052645-9006-1-git-send-email-peter.maydell@linaro.org> References: <1371052645-9006-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PULL 12/13] configure: permit compilation on arm aarch64 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aurelien Jarno , Blue Swirl Cc: Anthony Liguori , Riku Voipio , Claudio Fontana , qemu-devel@nongnu.org From: Claudio Fontana support compiling on aarch64. Reviewed-by: Peter Maydell Signed-off-by: Claudio Fontana Reviewed-by: Richard Henderson Message-id: 51A5C5ED.90103@huawei.com Signed-off-by: Peter Maydell --- configure | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configure b/configure index cb42269..1bab634 100755 --- a/configure +++ b/configure @@ -386,6 +386,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 @@ -408,6 +410,9 @@ case "$cpu" in armv*b|armv*l|arm) cpu="arm" ;; + aarch64) + cpu="aarch64" + ;; hppa|parisc|parisc64) cpu="hppa" ;; @@ -4060,6 +4065,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.7.9.5