mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Roland Hieber <rhi@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Roland Hieber <rhi@pengutronix.de>
Subject: [ptxdist] [PATCH v2 5/6] rules: move magic symbol into rules/ptxdist-version.in
Date: Tue, 22 Sep 2020 11:29:00 +0200	[thread overview]
Message-ID: <20200922092901.30715-5-rhi@pengutronix.de> (raw)
In-Reply-To: <20200922092901.30715-1-rhi@pengutronix.de>

Inspired by platforms/platform.in, this makes it possible to re-use the
magic symbol in a slimmed-down kconfig menu.

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
 v2: no changes

 rules/Kconfig            | 5 -----
 rules/ptxdist-version.in | 5 +++++
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/rules/Kconfig b/rules/Kconfig
index 1e40b5b08298..de3156c256ed 100644
--- a/rules/Kconfig
+++ b/rules/Kconfig
@@ -5,11 +5,6 @@
 
 source "generated/ptxdist_version.in"
 
-config _ptxconfig_MAGIC__
-	bool
-	option modules
-	default y
-
 comment "--------- Host Options -------------"
 
 menu "PTXdist Options               "
diff --git a/rules/ptxdist-version.in b/rules/ptxdist-version.in
index af4907e8f26a..8ab8bcaaac73 100644
--- a/rules/ptxdist-version.in
+++ b/rules/ptxdist-version.in
@@ -3,3 +3,8 @@
 config CONFIGFILE_VERSION
 	string
 	default "$(PTXDIST_VERSION_FULL)"
+
+config _ptxconfig_MAGIC__
+	bool
+	option modules
+	default y
-- 
2.28.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

  parent reply	other threads:[~2020-09-22  9:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-22  9:28 [ptxdist] [PATCH v2 1/6] platform: bump default toolchain version Roland Hieber
2020-09-22  9:28 ` [ptxdist] [PATCH v2 2/6] kernel, barebox: add descriptive help text for config options Roland Hieber
2020-10-14 10:30   ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-22  9:28 ` [ptxdist] [PATCH v2 3/6] image-root-tgz: add a help text Roland Hieber
2020-10-14 10:30   ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-22  9:28 ` [ptxdist] [PATCH v2 4/6] ptxdist: implement 'defconfig' commands for kconfig packages Roland Hieber
2020-09-28 13:34   ` Alexander Dahl
2020-10-09  8:52     ` Michael Olbrich
2020-09-22  9:29 ` Roland Hieber [this message]
2020-10-14 10:30   ` [ptxdist] [APPLIED] rules: move magic symbol into rules/ptxdist-version.in Michael Olbrich
2020-09-22  9:29 ` [ptxdist] [PATCH v2 6/6] ptxdist: add 'init' commands to create new configs Roland Hieber
2020-10-14 10:30 ` [ptxdist] [APPLIED] platform: bump default toolchain version Michael Olbrich

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=20200922092901.30715-5-rhi@pengutronix.de \
    --to=rhi@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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