From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49884) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsX05-0002nI-Jl for qemu-devel@nongnu.org; Tue, 08 Jan 2013 06:05:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TsX02-00033k-QO for qemu-devel@nongnu.org; Tue, 08 Jan 2013 06:05:45 -0500 Received: from mail-pa0-f49.google.com ([209.85.220.49]:52292) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsX02-00033W-KG for qemu-devel@nongnu.org; Tue, 08 Jan 2013 06:05:42 -0500 Received: by mail-pa0-f49.google.com with SMTP id bi1so271165pad.8 for ; Tue, 08 Jan 2013 03:05:41 -0800 (PST) From: Anup Patel Date: Tue, 8 Jan 2013 16:35:17 +0530 Message-Id: <1357643117-29799-1-git-send-email-anup.patel@linaro.org> Subject: [Qemu-devel] [PATCH] configure: Support QEMU cross-compiling for ARM64 host List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: linaro-dev@lists.linaro.org, kvmarm@lists.cs.columbia.edu, Anup Patel We should be able to cross compile QEMU for ARM64 host. This is required for trying out ARM 32-bit guest on ARM64 host using QEMU + KVM ARM64. Signed-off-by: Anup Patel --- configure | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure b/configure index fe18ed2..0bfb8bb 100755 --- a/configure +++ b/configure @@ -366,6 +366,8 @@ elif check_define __s390__ ; then fi elif check_define __arm__ ; then cpu="arm" +elif check_define __aarch64__ ; then + cpu="arm64" elif check_define __hppa__ ; then cpu="hppa" else @@ -388,6 +390,9 @@ case "$cpu" in armv*b|armv*l|arm) cpu="arm" ;; + arm64|aarch64) + cpu="arm64" + ;; hppa|parisc|parisc64) cpu="hppa" ;; -- 1.7.9.5