summaryrefslogtreecommitdiffstats
path: root/package/nodejs/Config.in
diff options
context:
space:
mode:
authorMartin Bark <martin@barkynet.com>2015-07-02 10:43:24 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-07-04 14:38:05 +0200
commit73f3b45e18a7b2a77c9ba97dbc2218bd68c0d52d (patch)
tree367a5788a4033dacb26785ef366525f7c41bf0c0 /package/nodejs/Config.in
parentd23cce19c299e3010ba2dca84ab4ad35eff3cdbb (diff)
downloadbuildroot-73f3b45e18a7b2a77c9ba97dbc2218bd68c0d52d.tar.gz
buildroot-73f3b45e18a7b2a77c9ba97dbc2218bd68c0d52d.zip
package/nodejs: Add node.js v0.12.5 and set as the default version
The version of the V8 JavaScript engine used by node.js v0.12.5 requires at least an ARMv6 architecture with VFPv2. For this reason v0.10.39 remains the default for ARMv5 targets, all other targets now default to v0.12.5. Signed-off-by: Martin Bark <martin@barkynet.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/nodejs/Config.in')
-rw-r--r--package/nodejs/Config.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/package/nodejs/Config.in b/package/nodejs/Config.in
index 9a393854c2..580d9a2d89 100644
--- a/package/nodejs/Config.in
+++ b/package/nodejs/Config.in
@@ -24,18 +24,25 @@ if BR2_PACKAGE_NODEJS
choice
prompt "Node.js version"
- default BR2_BR2_PACKAGE_NODEJS_0_10_39
+ default BR2_BR2_PACKAGE_NODEJS_0_10_39 if BR2_ARM_CPU_ARMV5
+ default BR2_BR2_PACKAGE_NODEJS_0_12_5
help
Select the version of Node.js you wish to use.
config BR2_BR2_PACKAGE_NODEJS_0_10_39
bool "v0.10.39"
+# V8 included with v0.12.5 requires at least ARMv6
+config BR2_BR2_PACKAGE_NODEJS_0_12_5
+ bool "v0.12.5"
+ depends on !BR2_ARM_CPU_ARMV5
+
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
menu "Module Selection"
OpenPOWER on IntegriCloud