diff options
author | Nathan Chancellor <natechancellor@gmail.com> | 2017-09-01 14:24:29 -0700 |
---|---|---|
committer | Nathan Chancellor <natechancellor@gmail.com> | 2017-09-01 16:48:59 -0700 |
commit | 1d724767bdedac22682fe23e88b4fe0033cb58f4 (patch) | |
tree | acceee44be4d1228031025d9c3d18f322619ad34 /scripts/build/debug | |
parent | 98b6a5a4503095ba539a415d90e3f2c5331985ed (diff) | |
download | crosstool-ng-1d724767bdedac22682fe23e88b4fe0033cb58f4.tar.gz crosstool-ng-1d724767bdedac22682fe23e88b4fe0033cb58f4.tar.bz2 crosstool-ng-1d724767bdedac22682fe23e88b4fe0033cb58f4.zip |
config: Add package versioning flexibility
Some users (like myself) may want to omit the crosstool-NG version
from the binaries' versioning output, as it can be incredibly long
and not too helpful. Add a config option to disable it. The possible
combinations are as follows:
- crosstool-NG version (default)
- crosstool-NG version - custom toolchain ID
- Custom toolchain ID
- No crosstool-NG version OR custom toolchain ID
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Diffstat (limited to 'scripts/build/debug')
-rw-r--r-- | scripts/build/debug/300-gdb.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh index 19d9d6dc..e3a40d07 100644 --- a/scripts/build/debug/300-gdb.sh +++ b/scripts/build/debug/300-gdb.sh @@ -19,7 +19,7 @@ do_debug_gdb_build() { esac if [ "${CT_GDB_HAS_PKGVERSION_BUGURL}" = "y" ]; then - extra_config+=("--with-pkgversion=${CT_PKGVERSION}") + [ -n "${CT_PKGVERSION}" ] && extra_config+=("--with-pkgversion=${CT_PKGVERSION}") [ -n "${CT_TOOLCHAIN_BUGURL}" ] && extra_config+=("--with-bugurl=${CT_TOOLCHAIN_BUGURL}") fi |