projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d9b3dc
)
riscv: allow native compilation
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Mon, 6 Aug 2018 17:15:38 +0000
(19:15 +0200)
committer
Andes
<uboot@andestech.com>
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 <xypron.glpk@gmx.de>
arch/riscv/config.mk
patch
|
blob
|
history
diff --git
a/arch/riscv/config.mk
b/arch/riscv/config.mk
index b235ae1413d17d3baba31e42535ef0836345e7af..ed9eb0c24cddc86f0d459c64edcb3f277f641604 100644
(file)
--- 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