mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 03:33:25 +02:00
rust: Rust's arch for riscv64 is called riscv64gc
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Peter Müller
parent
68961fd252
commit
5fec125684
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user