From: Heinrich Schuchardt Date: Mon, 6 Aug 2018 17:15:38 +0000 (+0200) Subject: riscv: allow native compilation X-Git-Url: http://git.dujemihanovic.xyz/img/static/gitweb.css?a=commitdiff_plain;h=5845f6612372a63877b2175e058a841e1237ffd6;p=u-boot.git riscv: allow native compilation 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. Signed-off-by: Heinrich Schuchardt --- diff --git a/arch/riscv/config.mk b/arch/riscv/config.mk index b235ae1413..ed9eb0c24c 100644 --- a/arch/riscv/config.mk +++ b/arch/riscv/config.mk @@ -10,10 +10,6 @@ # Rick Chen, Andes Technology Corporation # -ifeq ($(CROSS_COMPILE),) -CROSS_COMPILE := riscv32-unknown-linux-gnu- -endif - 32bit-emul := elf32lriscv 64bit-emul := elf64lriscv