rust: Rust's arch for riscv64 is called riscv64gc

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2022-02-22 12:51:28 +00:00
committed by Peter Müller
parent 68961fd252
commit 5fec125684

View File

@@ -157,7 +157,11 @@ ifeq "$(BUILD_ARCH)" "aarch64"
endif
# Rust
RUST_ARCH = $(BUILD_ARCH)
ifeq "$(BUILD_ARCH)" "riscv64"
RUST_ARCH = riscv64gc
else
RUST_ARCH = $(BUILD_ARCH)
endif
ifeq "$(BUILD_ARCH)" "armv6l"
RUST_PLATFORM = arm-unknown-linux-gnueabi