qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anup Patel <anup.patel@linaro.org>
To: qemu-devel@nongnu.org
Cc: linaro-dev@lists.linaro.org, kvmarm@lists.cs.columbia.edu,
	Anup Patel <anup.patel@linaro.org>
Subject: [Qemu-devel] [PATCH] configure: Support QEMU cross-compiling for ARM64 host
Date: Tue,  8 Jan 2013 16:35:17 +0530	[thread overview]
Message-ID: <1357643117-29799-1-git-send-email-anup.patel@linaro.org> (raw)

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 <anup.patel@linaro.org>
---
 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

             reply	other threads:[~2013-01-08 11:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-08 11:05 Anup Patel [this message]
2013-01-08 12:08 ` [Qemu-devel] [PATCH] configure: Support QEMU cross-compiling for ARM64 host Peter Maydell
2013-01-08 12:24   ` Anup Patel
2013-01-08 12:41     ` Peter Maydell
2013-01-08 15:57   ` Richard Henderson
2013-01-08 16:02     ` Peter Maydell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1357643117-29799-1-git-send-email-anup.patel@linaro.org \
    --to=anup.patel@linaro.org \
    --cc=kvmarm@lists.cs.columbia.edu \
    --cc=linaro-dev@lists.linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).