diff mbox series

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

Message ID 20220513160523.2944694-5-thomas@adapt-ip.com (mailing list archive)
State New, archived
Headers show
Series Resurrect Integration Mode v2 | expand

Commit Message

Thomas Pedersen May 13, 2022, 4:05 p.m. UTC
From: Luis Chamberlain <mcgrof@kernel.org>

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 <mcgrof@kernel.org>
---
 Makefile.subtrees | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 Makefile.subtrees
diff mbox series

Patch

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