From eb6254a5aa2e0bf539b74279828c64be6693593b Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sun, 5 Jul 2015 19:43:22 +0200 Subject: [PATCH] package/nodejs: drop minor version in Config.in 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 Signed-off-by: "Yann E. MORIN" Cc: Chris Becker Signed-off-by: Thomas Petazzoni --- package/nodejs/Config.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package/nodejs/Config.in b/package/nodejs/Config.in index 580d9a2d89..5b871eaf34 100644 --- a/package/nodejs/Config.in +++ b/package/nodejs/Config.in @@ -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" -- 2.30.2