From: Luis Chamberlain <mcgrof@kernel.org>
To: kdevops@lists.linux.dev, chuck.lever@oracle.com,
da.gomez@samsung.com, jlayton@kernel.org
Cc: mcgrof@kernel.org
Subject: [PATCH 0/3] kdevops: update to latest kconfig
Date: Wed, 4 Sep 2024 16:30:34 -0700 [thread overview]
Message-ID: <20240904233037.1516218-1-mcgrof@kernel.org> (raw)
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.git
This 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(-)
--
2.43.0
next reply other threads:[~2024-09-04 23:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-04 23:30 Luis Chamberlain [this message]
2024-09-04 23:30 ` [PATCH 1/3] scripts/kconfig/kconfig.Makefile: move _refs-default Luis Chamberlain
2024-09-04 23:30 ` [PATCH 2/3] kdevops: remove duplicate symbols and use scripts/append-makefile-vars.sh Luis Chamberlain
2024-09-04 23:30 ` [PATCH 3/3] scripts/gen-refs-default.Makefile: support direct make requests Luis Chamberlain
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240904233037.1516218-1-mcgrof@kernel.org \
--to=mcgrof@kernel.org \
--cc=chuck.lever@oracle.com \
--cc=da.gomez@samsung.com \
--cc=jlayton@kernel.org \
--cc=kdevops@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox