kdevops: update to latest kconfig
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | scripts/kconfig/kconfig.Makefile: move _refs-defaultscripts/ scripts/ | +2 | 0 replies | |
| 2/3 | kdevops: remove duplicate symbols and use scripts/append-makefile-vars.shkconfigs/ terraform/ vagrant/ +1 more | +8 | 0 replies | |
| 3/3 | scripts/gen-refs-default.Makefile: support direct make requestsMakefile scripts/ | +11 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] kdevops: update to latest kconfig
This is the first part of the kconfig selective yaml config support. kdevops has embraced git subtrees (note, not git submodule, those are gross), so to allow us to adapt kconfig from an external git tree which allows random projects to easily upgrade their versions of kconfig.
When we decided that the kdevops results archive was too large and to start our git tree from scratch to keep it slim, the initial import did not have the kconfig git tree incantations. So what we do is use the git subtree split feature so to split out the work on scripts/kconfig up to the latest known kconfig git tree git commit we sync'd to, which is dce7653757b4 ("kconfig: fix parallel builds for menuconfig") and use the current kdevops git commit 4b42b104d5ecd ("linux-mirror: complete ansible conversion"). And so I just ran:
I just ran:
git subtree split --prefix=scripts/kconfig/ --onto \
dce7653757b4f26945c09744b131d2daabe6257d \
4b42b104d5ecd15b8fc3af0a71944ebb626dad03 \
--rejoin https://github.com/linux-kdevops/kconfig.gitThis will allow us to later update kconfig as if we had started the git subtree on scripts/kconfig with the following:
git remote add kconfig https://github.com/linux-kdevops/kconfig.git
git fetch kconfig
git subtree add --prefix=scripts/kconfig kconfig master
Note that the above is not well represented in git with git format-patch as you'll just see the merge commit in git history, git format-patch will send the entire history and so I'm just including the commands I run here to get us back to using a git subtree for scripts/kconfig/. The patches in this series allow us to later update kconfig using git subtree afterwards, so the patches in this series apply after the above command.
Then after the patches in this series I just run the following command to get us to upgrade to the kconfig master branch which gets kdevops kconfig in sync with the kconfig linux-next tag of next-20240830:
git subtree --squash pull --prefix=scripts/kconfig/ kconfig master
At this point we don't yet have selective yamlconfig support. To merge that support and use it, will be addressed in the next patch series. But note.. since the latest kconfig git subtree has nconfig support fixed we also get to use it, so try running 'make nconfig' on this branch:
https://github.com/mcgrof/kdevops/tree/nconfig
The first two patches in this series are what we need to update the latest kconfig and support nconfig, the last patch "scripts/gen-refs-default.Makefile:
support direct make requests" is just a cleanup drive-through, and so not required but we might as well add it.
If this seems agreeable please let me know and I'll just merge this, nothing controversial at this point other than just getting us up to speed again to be able to track kconfig as a git subtree and updates us to kconfig linux-next tag next-20240830.
Luis Chamberlain (3):
scripts/kconfig/kconfig.Makefile: move _refs-default
kdevops: remove duplicate symbols and use
scripts/append-makefile-vars.sh
scripts/gen-refs-default.Makefile: support direct make requests
Makefile | 2 +- kconfigs/Kconfig.ansible_provisioning | 24 ++++++----------------- scripts/dynamic-kconfig.Makefile | 2 +- scripts/gen-refs-default.Makefile | 28 ++++++++++----------------- scripts/kconfig/kconfig.Makefile | 2 +- terraform/aws/Kconfig | 14 -------------- vagrant/Kconfig | 3 ++- vagrant/Kconfig.opensuse | 22 --------------------- 8 files changed, 21 insertions(+), 76 deletions(-)
Signature · 1 line
2.43.0