package/nodejs: correct 0.10.x option name
authorMartin Bark <martin@barkynet.com>
Wed, 23 Dec 2015 12:16:04 +0000 (12:16 +0000)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 25 Dec 2015 17:48:42 +0000 (18:48 +0100)
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@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Config.in.legacy
package/nodejs/Config.in

index 7e32df88ffee89584e1c7a7d8dc40525c6beb9ff..262879681353f0efe4aa14e7c75cccdb4384944d 100644 (file)
@@ -248,6 +248,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
+       help
+         nodejs 0.10.x option was named incorrectly and has been renamed
+         to BR2_PACKAGE_NODEJS_0_10_X.
+
 config BR2_BR2_PACKAGE_NODEJS_0_12_X
        bool "nodejs version 0.12.x has been removed"
        select BR2_LEGACY
index a8eb6d42c8882eb0687f4ff5dfe1ebaae220cb0d..eb3aeec955bc7ffd55e2b303a6526f926c2e27a7 100644 (file)
@@ -37,12 +37,12 @@ config BR2_PACKAGE_NODEJS_V8_ARCH_SUPPORTS
 
 choice
        prompt "Node.js version"
-       default BR2_BR2_PACKAGE_NODEJS_0_10_X if BR2_ARM_CPU_ARMV5
+       default BR2_PACKAGE_NODEJS_0_10_X if BR2_ARM_CPU_ARMV5
        default BR2_PACKAGE_NODEJS_5_X
        help
          Select the version of Node.js you wish to use.
 
-config BR2_BR2_PACKAGE_NODEJS_0_10_X
+config BR2_PACKAGE_NODEJS_0_10_X
        bool "v0.10.41"
 
 config BR2_PACKAGE_NODEJS_5_X
@@ -59,7 +59,7 @@ endchoice
 
 config BR2_PACKAGE_NODEJS_VERSION_STRING
        string
-       default "0.10.41"       if BR2_BR2_PACKAGE_NODEJS_0_10_X
+       default "0.10.41"       if BR2_PACKAGE_NODEJS_0_10_X
        default "5.3.0"         if BR2_PACKAGE_NODEJS_5_X
 
 menu "Module Selection"