summaryrefslogtreecommitdiff
path: root/config/toolchain.in
diff options
context:
space:
mode:
authorBenoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>2011-06-03 15:21:56 (GMT)
committerBenoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>2011-06-03 15:21:56 (GMT)
commitd147fbb201e5ab4e16a525e0289a7fdcfcccf203 (patch)
tree9fce209f26392303ed599ace0d263e742c871eb0 /config/toolchain.in
parent7f504c6c278a4d484a0cbbd25af4bd41e655d6f8 (diff)
kconfig: prepend CT-NG's version tag to PKGVERSION
"crosstool-NG-${CT_VERSION}" is currently the default for TOOLCHAIN_PKGVERSION, and this options is passed as is to --with-pkgversion. This patch prepends "crosstool-NG ${CT_VERSION}" to TOOLCHAIN_PKGVERSION before passing it to --with-pkgversion. Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
Diffstat (limited to 'config/toolchain.in')
-rw-r--r--config/toolchain.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/config/toolchain.in b/config/toolchain.in
index bc8f19c..246427d 100644
--- a/config/toolchain.in
+++ b/config/toolchain.in
@@ -78,13 +78,18 @@ config STATIC_TOOLCHAIN
config TOOLCHAIN_PKGVERSION
string
prompt "Toolchain ID string"
- default "crosstool-NG-${CT_VERSION}"
+ default ""
help
Specify a string that identifies your package. You may wish to include
a build number or build date. This version string will be included in
the output of gcc --version, and also in binutils, eglibc, gdb and
gdbserver.
+ If this string is left empty, the actual package version will be:
+ "crosstool-NG ${CT_VERSION}"
+ Otherwise, it will be:
+ "crosstool-NG ${CT_VERSION} - ${CT_TOOLCHAIN_PKGVERSION}"
+
This is passed to the configure flag --with-pkgversion.
config TOOLCHAIN_BUGURL