Kconfig: Added compare capabilities for mconf
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | Kconfig: Added compare capabilities for mconfscripts/ scripts/ scripts/ +3 more | +452 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/1] Kconfig: Added compare capabilities for mconf
Hello,
There are circumstances where the Python script "scripts/diffconfig" is not helpful:
$ scripts/diffconfig /boot/config-6.12.43+deb13-amd64 ../linux-source-6.1/.config | wc -l 7375
where the first argument is the .config file of the new LTS kernel version (6.12.y) provided by the distribution and the second argument is the .config file customized of the old LTS kernel version (6.1.y).
As you can see there are too many differences are reported, to deal with them.
The solution I propose is to provide comparison capability for scripts/kconfig/mconf.c (make menuconfig). Adding a:
"*" indicating that the symbol is built-in =y "_" indicating that the symbol is disabled =n "M" indicating that the symbol is a module =M "#" indicating that the symbol is a new feature
just before symbol's description in "menuconfig" window. If the symbol's tristate value is the same in the .config edited and in the .config compared then those symbols item will be left untouched.
Franco Martelli (1):
Kconfig: Added compare capabilities for mconf
scripts/kconfig/confdata.c | 189 ++++++++++++++++++++++- scripts/kconfig/expr.h | 9 ++ scripts/kconfig/lkc.h | 11 ++ scripts/kconfig/lkc_proto.h | 4 + scripts/kconfig/lxdialog/menubox.c | 29 +++- scripts/kconfig/mconf.c | 240 ++++++++++++++++++++++++++--- 6 files changed, 452 insertions(+), 30 deletions(-)
base-commit: e53642b87a4f4b03a8d7e5f8507fc3cd0c595ea6
Signature · 1 line
2.47.3