aboutsummaryrefslogtreecommitdiff
path: root/config/global.in
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2017-09-01 13:31:35 -0700
committerNathan Chancellor <natechancellor@gmail.com>2017-09-01 16:49:16 -0700
commitb0f14b0dfa1b8a060ba75c5a7294241857f51b3c (patch)
tree349daeaf546a5c3c9e942967ba0512b67769d42d /config/global.in
parent1d724767bdedac22682fe23e88b4fe0033cb58f4 (diff)
downloadcrosstool-ng-b0f14b0dfa1b8a060ba75c5a7294241857f51b3c.tar.gz
crosstool-ng-b0f14b0dfa1b8a060ba75c5a7294241857f51b3c.tar.bz2
crosstool-ng-b0f14b0dfa1b8a060ba75c5a7294241857f51b3c.zip
config: Show crosstool-NG version in .config
This was previously available in 6c62da480344 but was then removed in cb7fcbe1ef4f. Add it back since it will be helpful if the user wants to hide the crosstool-NG version in the pkgversion. To get the new version, a defconfig from "ct-ng savedefconfig" or "ct-ng oldconfig" must be used in combination with "ct-ng menuconfig" or "ct-ng nconfig". Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Diffstat (limited to 'config/global.in')
-rw-r--r--config/global.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/global.in b/config/global.in
index 2860f1a8..0dff199c 100644
--- a/config/global.in
+++ b/config/global.in
@@ -1,5 +1,9 @@
# Overall toolchain configuration: paths, jobs, etc...
+config CT_VERSION
+ string
+ option env="CT_VERSION"
+
# Allow unconditional usage of tristates
config MODULES
bool