Commit eb6254a5 authored by Yann E. MORIN's avatar Yann E. MORIN Committed by Thomas Petazzoni
Browse files

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: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: default avatar"Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Chris Becker <goabonga@gmail.com>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 82da9aa8
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -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"