From b0f14b0dfa1b8a060ba75c5a7294241857f51b3c Mon Sep 17 00:00:00 2001 From: Nathan Chancellor Date: Fri, 1 Sep 2017 13:31:35 -0700 Subject: 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 diff --git a/config/config.in b/config/config.in index 6b0b911..f941301 100644 --- a/config/config.in +++ b/config/config.in @@ -1,3 +1,4 @@ +mainmenu "crosstool-NG $CT_VERSION Configuration" source "config/configure.in" source "config/global.in" source "config/target.in" diff --git a/config/global.in b/config/global.in index 2860f1a..0dff199 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 -- cgit v0.10.2-6-g49f6