Repository navigation
Suppress transitional symbols - #39
Merged
Merged
Conversation
jserv
force-pushed
the
linux-compat
branch
4 times, most recently
from
February 19, 2026 15:59
0ad146f to
4732b13
Compare
This adds guards in 4 output paths so symbols marked 'transitional' are read from old .config files (for migration defaults) but never written to generated output: - config_string property (write_config / write_min_config) - _autoconf_contents (write_autoconf) - _min_config_contents (write_min_config) - sync_deps (prevents spurious dep-file touches) It rewrites makefile.patch for Linux v6.18 Makefile layout (config_rule macro replaces individual target rules; PYTHONCMD defaults to python3). Install GNU Make and LLD on macOS CI runners (v6.18 requires Make >= 4.0 and a supported linker; macOS ships Make 3.81 and Apple ld). Forward LD as a make command-line variable in reltest and test_compat.py so it overrides the kernel Makefile's unconditional LD assignment without replacing Apple's system linker in PATH. Honour the MAKE and CC environment variables in test_compat.py via setdefault().
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Linux v6.18 introduced the 'transitional' keyword for Kconfig symbols (commit 23ef9d439769d5) enabling clean option renaming: old symbols marked transitional are read from existing .config files to populate new symbol defaults, but must never appear in generated output.
The parser already sets is_transitional but the flag had no behavioral impact. Add four guards to suppress transitional symbols from:
This rewrites 'makefile.patch' for Linux v6.x Makefile layout where config targets are generated by a $(foreach ...) / config_rule macro rather than individual rules.
Summary by cubic
Suppress transitional Kconfig symbols from all generated outputs while still reading them from legacy .config files to seed defaults, matching Linux v6.18. Update the v6.18 Makefile patch (python3) and CI to use GNU Make ≥4.0 with LLD on macOS.
Bug Fixes
Refactors
Written for commit 7852844. Summary will update on new commits.