Skip to content

builder.py: check that Kconfig overrides are applied - #29

Merged
xiaoxiang781216 merged 1 commit into
apache:mainfrom
raiden00pl:kconfig-overrides-check
Oct 10, 2026
Merged

xiaoxiang781216 merged 1 commit into
apache:mainfrom
raiden00pl:kconfig-overrides-check

Conversation

@raiden00pl

Copy link
Copy Markdown
Member

kconfig-tweak upper-cases symbol names unless --keep-case is given, so a 'kv' override of a mixed-case symbol (e.g. CONFIG_NET_IPv6) was written under a wrong name and silently dropped by olddefconfig. The same happened to overrides of unknown symbols, with unmet dependencies or with invalid values: the build used a configuration nobody asked for.

  • Pass --keep-case to kconfig-tweak.
  • After olddefconfig, compare every override with the final .config and fail the build with the list of overrides that were not applied.

kconfig-tweak upper-cases symbol names unless --keep-case is given, so
a 'kv' override of a mixed-case symbol (e.g. CONFIG_NET_IPv6) was
written under a wrong name and silently dropped by olddefconfig. The
same happened to overrides of unknown symbols, with unmet dependencies
or with invalid values: the build used a configuration nobody asked
for.

* Pass --keep-case to kconfig-tweak.
* After olddefconfig, compare every override with the final .config
  and fail the build with the list of overrides that were not applied.

Assisted-by: Claude:claude-opus-5-5
Signed-off-by: raiden00pl <raiden00@railab.me>
@xiaoxiang781216
xiaoxiang781216 merged commit b7206c7 into apache:main Oct 10, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants