summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Hieber <rhi@pengutronix.de>2020-09-22 11:29:00 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2020-10-14 12:30:02 +0200
commit017223f96d1c10098ab3a0f9be5a7afc9184ce75 (patch)
treed3d147efcddda9dde7ca3b985feef3a2796a1e6e
parent7e328a6c0c0c41b4395d6bbcd42ac797ef9cb67d (diff)
downloadptxdist-017223f96d1c10098ab3a0f9be5a7afc9184ce75.tar.gz
ptxdist-017223f96d1c10098ab3a0f9be5a7afc9184ce75.tar.xz
rules: move magic symbol into rules/ptxdist-version.in
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> Message-Id: <20200922092901.30715-5-rhi@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/Kconfig5
-rw-r--r--rules/ptxdist-version.in5
2 files changed, 5 insertions, 5 deletions
diff --git a/rules/Kconfig b/rules/Kconfig
index 1e40b5b08..de3156c25 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 af4907e8f..8ab8bcaaa 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