diff options
author | Kees Cook <keescook@chromium.org> | 2023-08-31 21:13:39 +0200 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2023-09-03 19:04:20 +0200 |
commit | feec5e1f74f5b735c0c5c02ec70673db1334173f (patch) | |
tree | 0089441a74b7b520bc6d9ab585a65e86395fc33b /kernel/configs/rust.config | |
parent | kconfig: add warn-unknown-symbols sanity check (diff) | |
download | linux-feec5e1f74f5b735c0c5c02ec70673db1334173f.tar.xz linux-feec5e1f74f5b735c0c5c02ec70673db1334173f.zip |
kbuild: Show marked Kconfig fragments in "help"
Currently the Kconfig fragments in kernel/configs and arch/*/configs
that aren't used internally aren't discoverable through "make help",
which consists of hard-coded lists of config fragments. Instead, list
all the fragment targets that have a "# Help: " comment prefix so the
targets can be generated dynamically.
Add logic to the Makefile to search for and display the fragment and
comment. Add comments to fragments that are intended to be direct targets.
Signed-off-by: Kees Cook <keescook@chromium.org>
Co-developed-by: Masahiro Yamada <masahiroy@kernel.org>
Acked-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc)
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'kernel/configs/rust.config')
-rw-r--r-- | kernel/configs/rust.config | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/configs/rust.config b/kernel/configs/rust.config index 38a7c5362c9c..2c6e001a7284 100644 --- a/kernel/configs/rust.config +++ b/kernel/configs/rust.config @@ -1 +1,2 @@ +# Help: Enable Rust CONFIG_RUST=y |