[U-Boot] [PATCH 1/1] riscv: allow native compilation

Rick Chen rickchen36 at gmail.com
Tue Aug 7 08:57:40 UTC 2018


> If environment variable CROSS_COMPILE is not set, this indicates native
> compilation. In this case we should not set an arbitrary value which is not
> applicable for 64bit anyway.
>

OK !
Thanks for your correction.

B.R

Rick

> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
>  arch/riscv/config.mk | 4 ----
>  1 file changed, 4 deletions(-)
>
> diff --git a/arch/riscv/config.mk b/arch/riscv/config.mk index
> 219e66683d..f7a2ffbbc6 100644
> --- a/arch/riscv/config.mk
> +++ b/arch/riscv/config.mk
> @@ -10,10 +10,6 @@
>  # Rick Chen, Andes Technology Corporation <rick at andestech.com>  #
>
> -ifeq ($(CROSS_COMPILE),)
> -CROSS_COMPILE := riscv32-unknown-linux-gnu- -endif
> -
>  32bit-emul           := elf32lriscv
>  64bit-emul           := elf64lriscv
>


More information about the U-Boot mailing list