I have noticed that build fails when doing the following: - Start with the x86 defconfig, - Using nconfig, enable `CONFIG_RUST` and `CONFIG_DRM_NOVA`, - Start building.
The problem is that `CONFIG_RUST_FW_LOADER_ABSTRACTIONS` remains unselected, despite it being a dependency of `CONFIG_NOVA_CORE`. This seems to happen because `CONFIG_DRM_NOVA` selects `CONFIG_NOVA_CORE`. Fix this by making `CONFIG_RUST_FW_LOADER_ABSTRACTIONS` select `CONFIG_FW_LOADER`, and by transition make all users of `CONFIG_RUST_FW_LOADER_ABSTRACTIONS` (so far, nova-core and net/phy) select it as well. `CONFIG_FW_LOADER` is more often selected than depended on, so this seems to make sense generally speaking. Signed-off-by: Alexandre Courbot <[email protected]> --- Changes in v2: - Split into 3 patches. - Link to v1: https://lore.kernel.org/r/[email protected] --- Alexandre Courbot (3): firmware_loader: make RUST_FW_LOADER_ABSTRACTIONS select FW_LOADER gpu: nova-core: select RUST_FW_LOADER_ABSTRACTIONS net: phy: select RUST_FW_LOADER_ABSTRACTIONS drivers/base/firmware_loader/Kconfig | 2 +- drivers/gpu/nova-core/Kconfig | 2 +- drivers/net/phy/Kconfig | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) --- base-commit: 6553a8f168fb7941ae73d39eccac64f3a2b9b399 change-id: 20251104-b4-select-rust-fw-aeb1e46bcee9 Best regards, -- Alexandre Courbot <[email protected]>
