OSDN Git Service

kconfig: refactor listnewconfig code
authorMasahiro Yamada <masahiroy@kernel.org>
Fri, 1 Oct 2021 05:32:47 +0000 (14:32 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 11 Oct 2021 14:13:23 +0000 (23:13 +0900)
commit51d792cb5de87fa8777b4769a33c302e4ad0580a
tree4c57f4a5e75c60ec6117621259f205cec2c48cc2
parent6ce45a91a9826532dde7c89cd2d6388c0bcb0cf7
kconfig: refactor listnewconfig code

We can reuse __print_symbol() helper to print symbols for listnewconfig.
Only the difference is the format for "n" symbols.

This prints "CONFIG_FOO=n" instead of "# CONFIG_FOO is not set".

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/conf.c
scripts/kconfig/confdata.c
scripts/kconfig/lkc_proto.h