1 config BR2_PACKAGE_NODEJS
3 depends on BR2_TOOLCHAIN_HAS_THREADS
4 depends on BR2_INSTALL_LIBSTDCPP
5 depends on BR2_arm || BR2_i386 || BR2_x86_64 || BR2_mipsel
6 depends on !BR2_MIPS_SOFT_FLOAT
7 # ARM needs BLX, so v5t+
8 depends on !BR2_ARM_CPU_ARMV4
10 depends on BR2_USE_MMU
11 select BR2_PACKAGE_ZLIB
13 Event-driven I/O server-side JavaScript environment based on V8.
17 comment "nodejs needs a toolchain w/ C++, threads"
18 depends on BR2_USE_MMU
19 depends on BR2_arm || BR2_i386 || BR2_x86_64 || BR2_mipsel
20 depends on !BR2_ARM_CPU_ARMV4
21 depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
25 menu "Module Selection"
27 config BR2_PACKAGE_NODEJS_NPM
28 bool "NPM for the target"
29 select BR2_PACKAGE_OPENSSL
31 NPM is the package manager for the Node JavaScript platform.
32 Note that enabling NPM on the target also selects OpenSSL for the
37 Note that NPM is always built for the buildroot host.
39 config BR2_PACKAGE_NODEJS_MODULES_EXPRESS
40 bool "Express web application framework"
42 Express is a minimal and flexible node.js web application
43 framework, providing a robust set of features for building
44 single and multi-page, and hybrid web applications.
46 http://www.expressjs.com
47 https://github.com/visionmedia/express
49 config BR2_PACKAGE_NODEJS_MODULES_COFFEESCRIPT
52 CoffeeScript is a little language that compiles into JavaScript.
54 http://www.coffeescript.org
56 config BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL
57 string "Additional modules"
59 List of space-separated nodejs modules to install via npm.
60 See https://npmjs.org/ to find modules and 'npm help install'
61 for available installation methods. For repeatable builds,
62 download and save tgz files or clone git repos for the
63 components you care about.
65 Example: serialport uglify-js@1.3.4 /my/module/mymodule.tgz git://github.com/someuser/somemodule.git#v1.2
67 This would install the serialport module (at the newest version),
68 the uglify-js module at 1.3.4, a module from a filesystem path,
69 and a module from a git repository.
71 config BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL_DEPS
72 string "Additional module dependencies"
74 List of space-separated buildroot recipes which must be built before
75 your npms can be installed. For example, if in 'Additional modules'
76 you specified 'node-curl' (see:
77 https://github.com/jiangmiao/node-curl), you could then specify
78 'libcurl' here, to ensure that buildroot builds the libcurl package,
79 and does so before building your node modules.