summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2018-08-06 19:15:38 +0200
committerAndes <uboot@andestech.com>2018-10-03 17:49:44 +0800
commit5845f6612372a63877b2175e058a841e1237ffd6 (patch)
treeaab8a485ab095c8c4915eca2e383aebe86410863
parent9d9b3dc0d52b7dcfdb79d5a849fc7f1b68dd5700 (diff)
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 <xypron.glpk@gmx.de>
-rw-r--r--arch/riscv/config.mk4
1 files changed, 0 insertions, 4 deletions
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 <rick@andestech.com>
#
-ifeq ($(CROSS_COMPILE),)
-CROSS_COMPILE := riscv32-unknown-linux-gnu-
-endif
-
32bit-emul := elf32lriscv
64bit-emul := elf64lriscv