grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 09/10] RISC-V: Add to build system


From: Daniel Kiper
Subject: Re: [PATCH v3 09/10] RISC-V: Add to build system
Date: Wed, 21 Nov 2018 17:09:38 +0100
User-agent: NeoMutt/20170113 (1.7.2)

On Wed, Nov 14, 2018 at 06:27:38PM +0100, Alexander Graf wrote:
> This patch adds support for RISC-V to the grub build system. With this
> patch, I can successfully build grub on RISC-V as a UEFI application.
>
> Signed-off-by: Alexander Graf <address@hidden>
> Reviewed-by: Alistair Francis <address@hidden>

[...]

> diff --git a/grub-core/kern/compiler-rt.c b/grub-core/kern/compiler-rt.c
> index 5cfcb3907..6ae1c6844 100644
> --- a/grub-core/kern/compiler-rt.c
> +++ b/grub-core/kern/compiler-rt.c
> @@ -237,7 +237,8 @@ union component64
>    };
>  };
>
> -#if defined (__powerpc__) || defined (__arm__) || defined(__mips__)
> +#if defined (__powerpc__) || defined (__arm__) || defined(__mips__) || \
> +    (defined(__riscv) && (__riscv_xlen == 32))

s/__riscv/__riscv__/? and s/__riscv_xlen/__riscv_xlen__/?

Here and in other places if possible.

Daniel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]