All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luis Chamberlain <mcgrof@kernel.org>
To: hauke@hauke-m.de, backports@vger.kernel.org, mcgrof@kernel.org
Cc: thomas@adapt-ip.com, johannes@sipsolutions.net
Subject: [PATCH 4/4] Makefile.subtrees: document how to update kconfig
Date: Fri,  4 Feb 2022 13:41:31 -0800	[thread overview]
Message-ID: <20220204214131.1306843-5-mcgrof@kernel.org> (raw)
In-Reply-To: <20220204214131.1306843-1-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 --git a/Makefile.subtrees b/Makefile.subtrees
new file mode 100644
index 00000000..49bb13b3
--- /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.34.1

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

  parent reply	other threads:[~2022-02-04 21:41 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-04 21:41 [PATCH 0/4] backports: use kconfig from git subtree Luis Chamberlain
2022-02-04 21:41 ` [PATCH 1/4] backport/kconf: remove our version of kconfig Luis Chamberlain
2022-02-04 21:41 ` [PATCH 2/4] Squashed 'backport/kconf/' content from commit 98bda615 Luis Chamberlain
2022-02-04 21:41 ` [PATCH 3/4] kconfig: fix backport syntax to work with linux-next next-20220204 Luis Chamberlain
2022-02-04 21:41 ` Luis Chamberlain [this message]
2022-02-04 21:43   ` [PATCH 4/4] Makefile.subtrees: document how to update kconfig Johannes Berg
2022-02-04 21:44     ` Luis Chamberlain
2022-02-04 21:56       ` Luis Chamberlain
2022-02-04 21:59         ` Johannes Berg
2022-02-04 22:17           ` Luis Chamberlain
2022-02-04 21:43   ` Luis Chamberlain
2022-05-12 22:25 ` [PATCH 0/4] backports: use kconfig from git subtree Thomas Pedersen

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=20220204214131.1306843-5-mcgrof@kernel.org \
    --to=mcgrof@kernel.org \
    --cc=backports@vger.kernel.org \
    --cc=hauke@hauke-m.de \
    --cc=johannes@sipsolutions.net \
    --cc=thomas@adapt-ip.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.