]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
rust: Rust's arch for riscv64 is called riscv64gc
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 22 Feb 2022 12:51:28 +0000 (12:51 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Tue, 22 Feb 2022 19:41:39 +0000 (19:41 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
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