Skip to content

kconfig: Improve comment blocks in the .config file

Ariel Marcovitch linux-kbuild lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2kconfig: Show menuconfigs as menus in the .config filescripts/kconfig/confdata.c+17 -113 replies
2/2kconfig: Make comments look different than menus in .configscripts/kconfig/confdata.c+10 -43 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] kconfig: Improve comment blocks in the .config file

Hi there!

This series attempts to make the .config file format make more sense. Currently menuconfig blocks look exactly like regular configs while comment blocks look almost exactly like menu blocks.

The first patch makes menuconfig blocks look the same as menu blocks.

The second makes comment blocks look different than menu blocks.

The format for comment blocks in the second patch is a suggestion. I realize some people will think the '###' prefix is distasteful. I'm open to other options as well, I just couldn't think of a better option that starts with '#', looks different from a menu and can't be confused with a disabled config.

Ariel Marcovitch (2):
kconfig: Show menuconfigs as menus in the .config file
kconfig: Make comments look different than menus in .config

 scripts/kconfig/confdata.c | 34 +++++++++++++++++++++++-----------
 1 file changed, 23 insertions(+), 11 deletions(-)

base-commit: e06a61a89ccd3edda046c78f9d08aa045b8c4d32

Signature · 1 line
2.25.1