package/nodejs: drop minor version in Config.in
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 5 Jul 2015 17:43:22 +0000 (19:43 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 6 Jul 2015 09:50:00 +0000 (11:50 +0200)
Drop the minor version from the Kconfig symbol, so we can seamlessly
update the versions without having to handle legacy stuff.

Note: not adding legacy handling, as we haven't had any release with
those symbols yet.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Chris Becker <goabonga@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/nodejs/Config.in

index 580d9a2d897c39984e8e4e8d7d4b18d550f05e65..5b871eaf34a95bd21f35b9416c7c9bd82bb7ffcc 100644 (file)
@@ -24,16 +24,16 @@ if BR2_PACKAGE_NODEJS
 
 choice
        prompt "Node.js version"
-       default BR2_BR2_PACKAGE_NODEJS_0_10_39 if BR2_ARM_CPU_ARMV5
-       default BR2_BR2_PACKAGE_NODEJS_0_12_5
+       default BR2_BR2_PACKAGE_NODEJS_0_10_X if BR2_ARM_CPU_ARMV5
+       default BR2_BR2_PACKAGE_NODEJS_0_12_X
        help
          Select the version of Node.js you wish to use.
 
-config BR2_BR2_PACKAGE_NODEJS_0_10_39
+config BR2_BR2_PACKAGE_NODEJS_0_10_X
        bool "v0.10.39"
 
 # V8 included with v0.12.5 requires at least ARMv6
-config BR2_BR2_PACKAGE_NODEJS_0_12_5
+config BR2_BR2_PACKAGE_NODEJS_0_12_X
        bool "v0.12.5"
        depends on !BR2_ARM_CPU_ARMV5
 
@@ -41,8 +41,8 @@ endchoice
 
 config BR2_PACKAGE_NODEJS_VERSION_STRING
        string
-       default "0.10.39"       if BR2_BR2_PACKAGE_NODEJS_0_10_39
-       default "0.12.5"        if BR2_BR2_PACKAGE_NODEJS_0_12_5
+       default "0.10.39"       if BR2_BR2_PACKAGE_NODEJS_0_10_X
+       default "0.12.5"        if BR2_BR2_PACKAGE_NODEJS_0_12_X
 
 menu "Module Selection"