# HG changeset patch # User "Yann E. MORIN" # Date 1314696929 -7200 # Node ID 4d299836e994ab566a045fad59bb48811c7454d8 # Parent 61ec8b08f98d9aed1c47347da75a3fb95c31567f 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" diff -r 61ec8b08f98d -r 4d299836e994 config/config.in --- a/config/config.in Tue Aug 30 10:21:45 2011 +0200 +++ b/config/config.in Tue Aug 30 11:35:29 2011 +0200 @@ -1,4 +1,3 @@ -mainmenu "The crosstool-NG configuration menu" source "config/configure.in" source "config/backend.in" source "config/global.in" diff -r 61ec8b08f98d -r 4d299836e994 kconfig/kconfig.mk --- a/kconfig/kconfig.mk Tue Aug 30 10:21:45 2011 +0200 +++ b/kconfig/kconfig.mk Tue Aug 30 11:35:29 2011 +0200 @@ -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_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