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>
This commit is contained in:
Heinrich Schuchardt 2018-08-06 19:15:38 +02:00 committed by Andes
parent 9d9b3dc0d5
commit 5845f66123

View file

@ -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