]> Git Repo - u-boot.git/commitdiff
riscv: allow native compilation
authorHeinrich Schuchardt <[email protected]>
Mon, 6 Aug 2018 17:15:38 +0000 (19:15 +0200)
committerAndes <[email protected]>
Wed, 3 Oct 2018 09:49:44 +0000 (17:49 +0800)
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 <[email protected]>
arch/riscv/config.mk

index b235ae1413d17d3baba31e42535ef0836345e7af..ed9eb0c24cddc86f0d459c64edcb3f277f641604 100644 (file)
 # Rick Chen, Andes Technology Corporation <[email protected]>
 #
 
-ifeq ($(CROSS_COMPILE),)
-CROSS_COMPILE := riscv32-unknown-linux-gnu-
-endif
-
 32bit-emul             := elf32lriscv
 64bit-emul             := elf64lriscv
 
This page took 0.03163 seconds and 4 git commands to generate.