mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-29 23:54:15 +00:00
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:
parent
229b5d2b15
commit
6c62da4803
@ -1,4 +1,3 @@
|
|||||||
mainmenu "The crosstool-NG configuration menu"
|
|
||||||
source "config/configure.in"
|
source "config/configure.in"
|
||||||
source "config/backend.in"
|
source "config/backend.in"
|
||||||
source "config/global.in"
|
source "config/global.in"
|
||||||
|
@ -2,9 +2,6 @@
|
|||||||
# crosstool-NG configuration targets
|
# crosstool-NG configuration targets
|
||||||
# These targets are used from top-level makefile
|
# 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
|
# The place where the kconfig stuff lies
|
||||||
obj = kconfig
|
obj = kconfig
|
||||||
|
|
||||||
@ -69,7 +66,7 @@ check_gettext = $(CT_LIB_DIR)/kconfig/check.sh
|
|||||||
check_lxdialog = $(CT_LIB_DIR)/kconfig/lxdialog/check-lxdialog.sh
|
check_lxdialog = $(CT_LIB_DIR)/kconfig/lxdialog/check-lxdialog.sh
|
||||||
|
|
||||||
# Build flags
|
# Build flags
|
||||||
CFLAGS = -DCONFIG_=\"CT_\" -DPACKAGE=\"crosstool-NG\"
|
CFLAGS = -DCONFIG_=\"CT_\" -DPACKAGE="\"crosstool-NG $(CT_VERSION)\""
|
||||||
LDFLAGS =
|
LDFLAGS =
|
||||||
|
|
||||||
# Compiler flags to use gettext
|
# Compiler flags to use gettext
|
||||||
|
Loading…
x
Reference in New Issue
Block a user