From d147fbb201e5ab4e16a525e0289a7fdcfcccf203 Mon Sep 17 00:00:00 2001 From: "Benoît THÉBAUDEAU\"" Date: Fri, 3 Jun 2011 17:21:56 +0200 Subject: kconfig: prepend CT-NG's version tag to PKGVERSION MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "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" --- config/toolchain.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'config/toolchain.in') diff --git a/config/toolchain.in b/config/toolchain.in index bc8f19c1..246427d7 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 -- cgit v1.2.3