[PATCH 2 of 2] Promote PKGVERSION and BUGURL options to toolchain level

Yann E. MORIN yann.morin.1998@anciens.enib.fr
Wed May 25 19:50:00 GMT 2011


Benoit, All,

On Wednesday 25 May 2011 21:10:46 Benoît THÉBAUDEAU wrote:
> Do you want to always prepend the menuconfig variable with
> "crosstool-NG ${VERSION}", whatever the user asks for in menuconfig, or
> do you just want to use this string as a replacement when the variable
> is empty?

Always, whatever the content of PKG_VERSION. For example:

--with-pkgversion="crosstool-NG X.Y.Z${PKG_VERSION:+ - ${PKG_VERSION}}"

That is, if PKG_VERSION is empty, just use "crosstool-NG X.Y.Z", otherwise
use "crosstool-NG X.Y.Z - User string". State so in the help entry.

If the user used the same content, then the string will be duplicated.
No biggy.

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



More information about the crossgcc mailing list