linux/common-config: select RUST_FW_LOADER_ABSTRACTIONS only with Rust

Rust may not be available for i686 and the counfigration would fail.

Fixes: 6b6c8b1402 ("linux/common-config: explicitly select RUST_FW_LOADER_ABSTRACTIONS for now")
This commit is contained in:
Łukasz Stelmach
2025-12-24 00:53:17 +01:00
parent 49733223f4
commit 4d9594e171
@@ -564,7 +564,7 @@ let
# Required for Nova
# FIXME: remove after https://gitlab.freedesktop.org/drm/rust/kernel/-/commit/3d3352e73a55a4ccf110f8b3419bbe2fbfd8a030 lands
RUST_FW_LOADER_ABSTRACTIONS = whenAtLeast "6.12" yes;
RUST_FW_LOADER_ABSTRACTIONS = lib.mkIf withRust (whenAtLeast "6.12" yes);
}
//
lib.optionalAttrs