summaryrefslogtreecommitdiff
path: root/kconfig/kconfig.mk
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-08-30 09:35:29 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-08-30 09:35:29 (GMT)
commit6c62da480344df2ee105f29499dcf06a2acc2c7d (patch)
treebfda70f31f6aea723e20712d3d516d6b5a5444b1 /kconfig/kconfig.mk
parent229b5d2b15c1f7cbaa723e50431a79d9c5e6947e (diff)
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>
Diffstat (limited to 'kconfig/kconfig.mk')
-rw-r--r--kconfig/kconfig.mk5
1 files changed, 1 insertions, 4 deletions
diff --git a/kconfig/kconfig.mk b/kconfig/kconfig.mk
index 7a6af5e..ab29e48 100644
--- a/kconfig/kconfig.mk
+++ b/kconfig/kconfig.mk
@@ -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