]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/Config
rust: Rust's arch for riscv64 is called riscv64gc
[people/pmueller/ipfire-2.x.git] / lfs / Config
index 92d7198920f04cb2ae032a394061f140886dcf44..9309b832d89a857781cfbfbb467861a07eac44c7 100644 (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