Repository navigation
utils: replace generate-defconfig with new update-defconfig - #1691
Merged
Merged
Conversation
This new tool can be used to interactivly update spin defconfigs.
Using the tool, the spin gets a copy of the current infix defconfig
in foo_defconfig.base. Running a tool then asks the user what to
do with any new config options that has appeared in Infix since
the last update. They are also compared to the old spin configs
for reference.
Here's a prompt example:
BR2_PACKAGE_NOVARQ_TACTICAL_1000 - Novarq Tactical 1000 (Laguna)
ours: n (configs/dcp_sc_28p_defconfig)
old upstream: n (configs/dcp_sc_28p_defconfig.base)
new upstream: y (infix/configs/aarch64_defconfig)
Use new upstream? [Y/n]
The user can then decide what to do with it. It cal be called
with -y to auto select what upstream has done. Mainly for non
interactive test runs.
Here's a caller example (Spin makefile):
@$(sync) infix/configs/aarch64_defconfig configs/dcp_sc_28p_defconfig
Signed-off-by: Richard Alpe <richard@bit42.se>
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.
Description
This new tool can be used to interactivly update spin defconfigs. Using the tool, the spin gets a copy of the current infix defconfig in foo_defconfig.base. Running a tool then asks the user what to do with any new config options that has appeared in Infix since the last update. They are also compared to the old spin configs for reference.
Here's a prompt example:
The user can then decide what to do with it. It cal be called with -y to auto select what upstream has done. Mainly for non interactive test runs.
Here's a caller example (Spin makefile):
@$(sync) infix/configs/aarch64_defconfig configs/dcp_sc_28p_defconfigChecklist
Tick relevant boxes, this PR is-a or has-a: