diff mbox series

[16/17] configure: Enable loongarch64

Message ID 20240511115400.7587-17-richard.henderson@linaro.org
State New
Headers show
Series RISU misc updates | expand

Commit Message

Richard Henderson May 11, 2024, 11:53 a.m. UTC
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
 configure | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Philippe Mathieu-Daudé May 15, 2024, 1:06 p.m. UTC | #1
On 11/5/24 13:53, Richard Henderson wrote:
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
>   configure | 4 +++-
>   1 file changed, 3 insertions(+), 1 deletion(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Philippe Mathieu-Daudé May 15, 2024, 1:08 p.m. UTC | #2
On 11/5/24 13:53, Richard Henderson wrote:
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
>   configure | 4 +++-
>   1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/configure b/configure
> index 2f7c580..39275a2 100755
> --- a/configure
> +++ b/configure
> @@ -54,6 +54,8 @@ guess_arch() {
>           ARCH="arm"
>       elif check_define __i386__ || check_define __x86_64__ ; then
>           ARCH="i386"
> +    elif check_define __loongarch__ ; then
> +        ARCH="loongarch64"
>       elif check_define __m68k__ ; then
>           ARCH="m68k"
>       elif check_define __powerpc64__ ; then
> @@ -141,7 +143,7 @@ Some influential environment variables:
>                  prefixed with the given string.
>   
>     ARCH         force target architecture instead of trying to detect it.
> -               Valid values=[arm|aarch64|m68k|ppc64|ppc64le|s390x]
> +               Valid values=[arm|aarch64|loongarch64|m68k|ppc64|ppc64le|s390x]
>   
>     CC           C compiler command
>     CFLAGS       C compiler flags

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
diff mbox series

Patch

diff --git a/configure b/configure
index 2f7c580..39275a2 100755
--- a/configure
+++ b/configure
@@ -54,6 +54,8 @@  guess_arch() {
         ARCH="arm"
     elif check_define __i386__ || check_define __x86_64__ ; then
         ARCH="i386"
+    elif check_define __loongarch__ ; then
+        ARCH="loongarch64"
     elif check_define __m68k__ ; then
         ARCH="m68k"
     elif check_define __powerpc64__ ; then
@@ -141,7 +143,7 @@  Some influential environment variables:
                prefixed with the given string.
 
   ARCH         force target architecture instead of trying to detect it.
-               Valid values=[arm|aarch64|m68k|ppc64|ppc64le|s390x]
+               Valid values=[arm|aarch64|loongarch64|m68k|ppc64|ppc64le|s390x]
 
   CC           C compiler command
   CFLAGS       C compiler flags