[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Recognize RISC-V compilation targets.
From: |
Shea Levy |
Subject: |
Re: [PATCH] Recognize RISC-V compilation targets. |
Date: |
Thu, 15 Mar 2018 09:23:40 -0400 |
Hi all,
Any thoughts on this?
Thanks,
Shea
Shea Levy <address@hidden> writes:
> * module/system/base/target.scm (cpu-endianness): Add case for "riscv"
> variants.
>
> Signed-off-by: Shea Levy <address@hidden>
> ---
> module/system/base/target.scm | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/module/system/base/target.scm b/module/system/base/target.scm
> index 95ab8d8c9..93616f4a3 100644
> --- a/module/system/base/target.scm
> +++ b/module/system/base/target.scm
> @@ -86,6 +86,8 @@
> (endianness big))
> ((string=? "aarch64" cpu)
> (endianness little))
> + ((string-match "riscv[1-9][0-9]*" cpu)
> + (endianness little))
> (else
> (error "unknown CPU endianness" cpu)))))
>
> --
> 2.16.1
signature.asc
Description: PGP signature
- Re: [PATCH] Recognize RISC-V compilation targets.,
Shea Levy <=