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 6/7] rules: move magic symbol into rules/ptxdist-version.in
Date: Tue, 22 Sep 2020 00:17:27 +0200	[thread overview]
Message-ID: <20200921221728.3229-6-rhi@pengutronix.de> (raw)
In-Reply-To: <20200921221728.3229-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>
---
 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-21 22:17 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-21 22:17 [ptxdist] [PATCH 1/7] kernel: bump default version and md5sum Roland Hieber
2020-09-21 22:17 ` [ptxdist] [PATCH 2/7] platform: bump default toolchain version Roland Hieber
2020-09-21 22:17 ` [ptxdist] [PATCH 3/7] kernel, barebox: add descriptive help text for md5sum config options Roland Hieber
2020-09-21 22:17 ` [ptxdist] [PATCH 4/7] image-root-tgz: build by default, and add a help text Roland Hieber
2020-09-22  8:17   ` Michael Olbrich
2020-09-22  9:08     ` Roland Hieber
2020-09-21 22:17 ` [ptxdist] [PATCH 5/7] ptxdist: implement 'defconfig' commands for kconfig packages Roland Hieber
2020-09-22  8:26   ` Michael Olbrich
2020-09-21 22:17 ` Roland Hieber [this message]
2020-09-21 22:17 ` [ptxdist] [PATCH 7/7] ptxdist: add 'init' commands to create new configs Roland Hieber
2020-09-22  9:46   ` Michael Olbrich
2020-09-23 12:22     ` Roland Hieber
2020-09-24 13:42       ` Michael Olbrich
2020-09-27 21:46         ` Roland Hieber
2020-09-22  8:13 ` [ptxdist] [PATCH 1/7] kernel: bump default version and md5sum Michael Olbrich
2020-09-22  9:17   ` Roland Hieber

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=20200921221728.3229-6-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