summaryrefslogtreecommitdiffstats
path: root/rules/nodejs.in
diff options
context:
space:
mode:
authorMichael Grzeschik <m.grzeschik@pengutronix.de>2015-07-09 15:33:15 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2015-07-17 14:07:54 +0200
commitc2cdc71b616568bc22a79da7a92f3f17e1a2eee7 (patch)
tree668e635bc689ef8fe91656f2817c1a609c24e1bd /rules/nodejs.in
parentc1658855b0d2b808360235934f0e3eedca124ec1 (diff)
downloadptxdist-c2cdc71b616568bc22a79da7a92f3f17e1a2eee7.tar.gz
ptxdist-c2cdc71b616568bc22a79da7a92f3f17e1a2eee7.tar.xz
nodejs: add new package
A host-nodejs is necessary because the target's extra packages are installed on the build host into the target hierarchy via npmbox. Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/nodejs.in')
-rw-r--r--rules/nodejs.in30
1 files changed, 30 insertions, 0 deletions
diff --git a/rules/nodejs.in b/rules/nodejs.in
new file mode 100644
index 000000000..233b1c832
--- /dev/null
+++ b/rules/nodejs.in
@@ -0,0 +1,30 @@
+## SECTION=bytecode_engines
+
+menuconfig NODEJS
+ tristate
+ prompt "nodejs "
+ select HOST_NODEJS
+ select OPENSSL
+ select ZLIB
+ help
+ evented I/O for V8 javascript
+
+ Node.js is a platform built on Chrome's JavaScript runtime
+ for easily building fast, scalable network
+ applications. Node.js uses an event-driven, non-blocking I/O
+ model that makes it lightweight and efficient, perfect for
+ data-intensive real-time applications that run across
+ distributed devices.
+
+
+if NODEJS
+
+config NODEJS_NPM
+ tristate
+ prompt "install npm on target"
+
+config NODEJS_MODULE_LIST
+ string
+ prompt "install nodejs packages"
+ default "express@4.13.0"
+endif