arch: add support for RISC-V 64-bit (riscv64) architecture
authorMark Corbin <mark.corbin@embecosm.com>
Wed, 12 Sep 2018 10:22:54 +0000 (11:22 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 23 Sep 2018 21:42:41 +0000 (23:42 +0200)
commit9b3d52b4008abacc4ea4867e0fe4e68ed32b1920
treea4f6a1c4ef524a16cb6cb9fa818e112d994d10d3
parent03e2bad8687c882b85d213fff9354c788b5c1bf2
arch: add support for RISC-V 64-bit (riscv64) architecture

This enables a riscv64 system to be built with a Buildroot generated
toolchain (gcc >= 7.x, binutils >= 2.30, glibc only).

This configuration has been used to successfully build a qemu-bootable
riscv-linux-4.15 kernel (https://github.com/riscv/riscv-linux.git).

Signed-off-by: Mark Corbin <mark.corbin@embecosm.com>
[Thomas:
 - simplify arch.mk.riscv by directly setting GCC_TARGET_ARCH
 - simplify glibc.mk changes by using GLIBC_CONF_ENV.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
Makefile
arch/Config.in
arch/Config.in.riscv [new file with mode: 0644]
arch/arch.mk.riscv [new file with mode: 0644]
package/binutils/Config.in.host
package/glibc/glibc.mk
package/linux-headers/Config.in.host
toolchain/toolchain-buildroot/Config.in