summaryrefslogtreecommitdiffstats
path: root/rules/nodejs.in
blob: 7f379f7bc290e409e2c568fa60e63cf988d5b38b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
## 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
	bool
	prompt "install npm on target"

config NODEJS_MODULE_LIST
	string
	prompt "install nodejs packages"
	help
	  A list of Node.js packages including version (e.g. express@4.13.0).
	  'ptxdist make nodejs-get' will download the packages and create a
	  npmbox file for each package. Note: The packages are stored in
	  local_src/ and should be part of the BSP. Downloading a package
	  again may result in different content.

config NODEJS_MODULE_MD5
	string
	prompt "nodejs packages md5 sums"
	help
	  A md5 sum for each npmbox file of the packages listed in
	  NODEJS_MODULE_LIST.

endif