[Buildroot] [PATCH v2 3/5] package/nodejs: correct 0.10.x option name

Yann E. MORIN yann.morin.1998 at free.fr
Fri Dec 18 21:12:13 UTC 2015


Martin, All,

On 2015-12-17 23:20 +0000, Martin Bark spake thusly:
> The nodejs options incorrectly started BR2_BR2_xxx.  This change corrects
> the name for 0.10.x releases to BR2_PACKAGE_NODEJS_0_10_X
> 
> Signed-off-by: Martin Bark <martin at barkynet.com>
> 
> ---
> Changes v1 -> v2
>  - New in v2
> ---
>  Config.in.legacy         | 8 ++++++++
>  package/nodejs/Config.in | 6 +++---
>  2 files changed, 11 insertions(+), 3 deletions(-)
> 
> diff --git a/Config.in.legacy b/Config.in.legacy
> index db1eeae..5d9a3ee 100644
> --- a/Config.in.legacy
> +++ b/Config.in.legacy
> @@ -186,6 +186,14 @@ config BR2_PACKAGE_INFOZIP
>  	  to avoid ambiguities with Info-Zip's UnZip which has been added
>  	  in the unzip package.
>  
> +config BR2_BR2_PACKAGE_NODEJS_0_10_X
> +	bool "nodejs 0.10.x option renamed"
> +	select BR2_LEGACY
> +	select BR2_PACKAGE_NODEJS_0_10_X

No, you can't select an option that is in a choice. All you can do in
this case is tell the user to check his configuration, and refer him
to the version choice.

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.  |
'------------------------------^-------^------------------^--------------------'


More information about the buildroot mailing list