kconfig: print version in .config

Having the crosstool-NG version in the .config helps in case we
want to reproduce the toolchain with the exact same version of
crosstool-NG.

This also reverts #bb73e7632b54.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
Yann E. MORIN" 2011-08-30 11:35:29 +02:00
parent 229b5d2b15
commit 6c62da4803
2 changed files with 1 additions and 5 deletions

View File

@ -1,4 +1,3 @@
mainmenu "The crosstool-NG configuration menu"
source "config/configure.in"
source "config/backend.in"
source "config/global.in"

View File

@ -2,9 +2,6 @@
# crosstool-NG configuration targets
# These targets are used from top-level makefile
# Derive the project version from, well, the project version:
export PROJECTVERSION=$(CT_VERSION)
# The place where the kconfig stuff lies
obj = kconfig
@ -69,7 +66,7 @@ check_gettext = $(CT_LIB_DIR)/kconfig/check.sh
check_lxdialog = $(CT_LIB_DIR)/kconfig/lxdialog/check-lxdialog.sh
# Build flags
CFLAGS = -DCONFIG_=\"CT_\" -DPACKAGE=\"crosstool-NG\"
CFLAGS = -DCONFIG_=\"CT_\" -DPACKAGE="\"crosstool-NG $(CT_VERSION)\""
LDFLAGS =
# Compiler flags to use gettext