[PATCH v2 04/15] Makefile.subtrees: document how to update kconfig

Thomas Pedersen <[email protected]> Fri, 13 May 2022 09:05:12 -0700
Newsgroups org.kernel.vger.backports
Message-ID <[email protected]>
From: Luis Chamberlain <[email protected]>

Now that kconfig is a git sub tree document what we need to do
to update version of config. We use squash here so we don't
carry the kconfig tree update logs in our commit log.

Signed-off-by: Luis Chamberlain <[email protected]>
---
 Makefile.subtrees | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 Makefile.subtrees

diff --git a/Makefile.subtrees b/Makefile.subtrees
new file mode 100644
index 000000000000..49bb13b36060
--- /dev/null
+++ b/Makefile.subtrees
@@ -0,0 +1,10 @@
+# If you need to use a git subtree, please add it here.
+add-kconfig-remote:
+	git remote add kconfig https://github.com/mcgrof/kconfig.git
+
+add-kconfig:
+	git subtree add --prefix=backport/kconf --squash kconfig master
+
+refresh-kconfig:
+	git fetch kconfig
+	git subtree pull --prefix=backport/kconf --squash kconfig master
-- 
2.30.2

--
To unsubscribe from this list: send the line "unsubscribe backports" in