Commit d00fb884 authored by Martin Bark's avatar Martin Bark Committed by Thomas Petazzoni
Browse files

package/nodejs: Update to allow selecting node.js version



[Thomas: fix minor Config.in formatting issues pointed by Yann.]

Signed-off-by: default avatarMartin Bark <martin@barkynet.com>
Reviewed-by: default avatar"Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent c0c97a95
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -22,6 +22,21 @@ comment "nodejs needs a toolchain w/ C++, threads"

if BR2_PACKAGE_NODEJS

choice
	prompt "Node.js version"
	default BR2_BR2_PACKAGE_NODEJS_0_10_39
	help
	  Select the version of Node.js you wish to use.

config BR2_BR2_PACKAGE_NODEJS_0_10_39
	bool "v0.10.39"

endchoice

config BR2_PACKAGE_NODEJS_VERSION_STRING
	string
	default "0.10.39"	if BR2_BR2_PACKAGE_NODEJS_0_10_39

menu "Module Selection"

config BR2_PACKAGE_NODEJS_NPM
Loading