Message ID | 5190EA89.1000509@huawei.com |
---|---|
State | New |
Headers | show |
On 13 May 2013 14:28, Claudio Fontana <claudio.fontana@huawei.com> wrote: > > support compiling on aarch64. > > Signed-off-by: Claudio Fontana <claudio.fontana@huawei.com> This looks good, but it should be the last patch in the series, so we don't allow the support to be enabled until the code that implements it is present. thanks -- PMM
On 13.05.2013 20:29, Peter Maydell wrote: > On 13 May 2013 14:28, Claudio Fontana <claudio.fontana@huawei.com> wrote: >> >> support compiling on aarch64. >> >> Signed-off-by: Claudio Fontana <claudio.fontana@huawei.com> > > This looks good, but it should be the last patch in the series, > so we don't allow the support to be enabled until the code > that implements it is present. > > thanks > -- PMM Of course, that would break bisection. Will fix by putting last.
diff --git a/configure b/configure index 9439f1c..9cc398c 100755 --- a/configure +++ b/configure @@ -384,6 +384,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 @@ -406,6 +408,9 @@ case "$cpu" in armv*b|armv*l|arm) cpu="arm" ;; + aarch64) + cpu="aarch64" + ;; hppa|parisc|parisc64) cpu="hppa" ;; @@ -4114,6 +4119,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"
support compiling on aarch64. Signed-off-by: Claudio Fontana <claudio.fontana@huawei.com> --- configure | 8 ++++++++ 1 file changed, 8 insertions(+)