This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Benoit, All, On Wednesday 01 June 2011 22:36:00 BenoÃt THÃBAUDEAU wrote: > # HG changeset patch > # User "BenoÃt THÃBAUDEAU" <benoit.thebaudeau@advansee.com> > # Date 1306960344 -7200 > # Node ID b96b4403c850000dfe69b7d64bc4d65542007290 > # Parent 9e3cbe13deae566d9ec0c31f38afe238f7c9660d > kconfig: prepend CT-NG's version tag to PKGVERSION [--SNIP--] > diff --git a/scripts/build/binutils/binutils.sh b/scripts/build/binutils/binutils.sh > --- a/scripts/build/binutils/binutils.sh > +++ b/scripts/build/binutils/binutils.sh > @@ -56,8 +56,8 @@ > extra_config+=( --enable-plugins ) > fi > if [ "${CT_BINUTILS_HAS_PKGVERSION_BUGURL}" = "y" ]; then > - [ -n "${CT_TOOLCHAIN_PKGVERSION}" ] && extra_config+=("--with-pkgversion=${CT_TOOLCHAIN_PKGVERSION}") > - [ -n "${CT_TOOLCHAIN_BUGURL}" ] && extra_config+=("--with-bugurl=${CT_TOOLCHAIN_BUGURL}") > + extra_config+=("--with-pkgversion=crosstool-NG ${CT_VERSION}${CT_TOOLCHAIN_PKGVERSION:+ - ${CT_TOOLCHAIN_PKGVERSION}}") > + [ -n "${CT_TOOLCHAIN_BUGURL}" ] && extra_config+=("--with-bugurl=${CT_TOOLCHAIN_BUGURL}") Compute the string only once. Eg. in scripts/crosstool-ng.sh.in: CT_PKGVERSION="crosstool-NG ${CT_VERSION}${CT_TOOLCHAIN_PKGVERSION:+ - ${CT_TOOLCHAIN_PKGVERSION}}" Then use "${CT_PKGVERSION}" every where: gcc, gdb... Ditto bugurl. Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |