From 6c62da480344df2ee105f29499dcf06a2acc2c7d Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Tue, 30 Aug 2011 11:35:29 +0200 Subject: 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 --git a/config/config.in b/config/config.in index 5ebd2be..8a88fef 100644 --- a/config/config.in +++ b/config/config.in @@ -1,4 +1,3 @@ -mainmenu "The crosstool-NG configuration menu" source "config/configure.in" source "config/backend.in" source "config/global.in" 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 -- cgit v0.10.2-6-g49f6