Skip to content

Commit bc218b6

Browse files
committed
modules: Add placeholder for CONFIG_RUST
In order to be able to ifdef based on `CONFIG_RUST`, the config must be defined in the main repo (because the rust module is optional). Add this as a placeholder. If the module is not availabe, the symbol will be present, and always disabled. The module will provide a full definition for the Kconfig. Signed-off-by: David Brown <[email protected]>
1 parent 31474ba commit bc218b6

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

modules/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ source "modules/Kconfig.open-amp"
2929
source "modules/Kconfig.picolibc"
3030
source "modules/Kconfig.nxp_s32"
3131
source "modules/Kconfig.renesas_fsp"
32+
source "modules/Kconfig.rust"
3233
source "modules/Kconfig.silabs"
3334
source "modules/Kconfig.simplelink"
3435
source "modules/Kconfig.sof"

modules/Kconfig.rust

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Copyright (c) 2024 Linaro LTD
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config RUST
5+
bool

0 commit comments

Comments
 (0)