Skip to content

Kconfig: Tidy up the top-level kconfig menu

Tom Rini u-boot 1 version New

Get series with b4
b4 am 20200911202039.GC5110@bill-the-cat

Versions newest first

  1. v1 Latest0 of 16 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 16 patches the cover letter announces are in this archive.

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/16] Kconfig: Tidy up the top-level kconfig menu
Quoted 33 lines · Simon Glass

Hi Tom,

Quoted 30 lines · Tom Rini
Quoted 6 lines · Simon Glass

At present this menu is pretty messy, with quite a few minor options shown at the top level. This series creates a few new menus and moves things around so that the top-level menu is cleaner.

There is more to do, but this is a start.

[snip]

Quoted 11 lines
 Kconfig              | 340 +---------------
 cmd/Kconfig          | 117 ------
 common/Kconfig       | 505 ++----------------------
 common/Kconfig.boot  | 894 +++++++++++++++++++++++++++++++++++++++++++
 drivers/core/Kconfig |  11 +
 dts/Kconfig          |   9 -
 env/Kconfig          |   9 +
 tools/Kconfig        |  12 +
 8 files changed, 955 insertions(+), 942 deletions(-)
 create mode 100644 common/Kconfig.boot
 create mode 100644 tools/Kconfig

And after a resync of the defconfigs:

 555 files changed, 941 insertions(+), 941 deletions(-)
and a partial wc -l:
   449 Kconfig
   697 common/Kconfig
   894 common/Kconfig.boot

2190 cmd/Kconfig

Quoted 5 lines
Quoted 2 lines

So in the end, yes, this is I think making things easier to maintain but will cause a few merge hiccups.

Oh dear, I completely forgot about that aspect. Should I add a resync patch at the end, or is it better to do it when reviewed/applied?

Don't worry about re-sync patches, those are trivially generated and fail to apply easily. Really I'm fine with most cases not touching defconfigs EXCEPT when we're changing requires / depends stuff. That requires a defconfig change at the same time to not break things.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200911/d8cb897e/attachment.sig>