mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03:00
package/nodejs: Update to allow selecting node.js version
[Thomas: fix minor Config.in formatting issues pointed by Yann.] Signed-off-by: Martin Bark <martin@barkynet.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
c0c97a957a
commit
d00fb884e4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user