mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-04 06:10:16 +03:00
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>
This commit is contained in:
committed by
Thomas Petazzoni
parent
03e2bad868
commit
9b3d52b400
@@ -12,9 +12,11 @@ choice
|
||||
config BR2_BINUTILS_VERSION_2_28_X
|
||||
bool "binutils 2.28.1"
|
||||
depends on !BR2_arc
|
||||
depends on !BR2_riscv
|
||||
|
||||
config BR2_BINUTILS_VERSION_2_29_X
|
||||
bool "binutils 2.29.1"
|
||||
depends on !BR2_riscv
|
||||
|
||||
config BR2_BINUTILS_VERSION_2_30_X
|
||||
bool "binutils 2.30"
|
||||
|
||||
Reference in New Issue
Block a user