Commit Graph

22 Commits

Author SHA1 Message Date
Marko Ratkaj cff6ebb809 node: bump to 8.10.0
Changes:
Version bump to 8.10.0
Refreshed patches
Added npx install
Added 004-node_crypto-remove-std.patch

Additional patch fixes node_cypto compile failure:
./src/node_crypto.cc:5626:32: error: expected unqualified-id before '('

Signed-off-by: Arturo Rinaldi <arty.net2@gmail.com>
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2018-03-10 13:42:52 +08:00
Yousong Zhou ffbdc7e4fd node: depends on availability of fpu
It requires either hardware or software emulated fpu, otherwise program
can fail with SIGILL for fp instructions emitted by the JIT compiler

See #1937, #2633, #2442, FS#1257 for details

From code snippet at deps/v8/src/mips/constants-mips.h

    #elif(defined(__mips_soft_float) && __mips_soft_float != 0)
    // This flag is raised when -msoft-float is passed to the compiler.
    // // Although FPU is a base requirement for v8, soft-float ABI is used
    // // on soft-float systems with FPU kernel emulation.
    // const bool IsMipsSoftFloatABI = true;

[1] https://bugs.chromium.org/p/v8/issues/detail?id=4704

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-02-09 15:47:50 +08:00
Hirokazu MORIKAWA dd3dbcfd07 node: delete unnecessary TAB characters at the end of a line
Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2017-09-11 12:49:04 +09:00
Hirokazu MORIKAWA 5a607c58a0 node: fix typo
https://github.com/openwrt/packages/issues/4742

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2017-09-07 10:17:03 +09:00
Adrian Panella 2a42edabdb node: fix path patch
Signed-off-by: Adrian Panella <ianchi74@outlook.com>
2017-08-17 01:06:13 -05:00
Adrian Panella 162c6a70c9 node: bump version and add maintainer
Signed-off-by: Adrian Panella <ianchi74@outlook.com>
2017-08-16 21:02:35 -05:00
Adrian Panella 653e9ff9ac node: bump version and tweak config
Bump version to 6.11.0
Add ICU dependency when using i18n
Tweak fpu configs

Signed-off-by: Adrian Panella <ianchi74@outlook.com>
2017-08-16 21:02:35 -05:00
Ygal Blum 18e816d5fd node: Move NPM into a separated pacakge
In order to reduce flash requirements and also to disallow running NPM on the target
move NPM out of the default NodeJS package.
In order to allow adding NPM via opkg install, move it to a separated
directory

Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
2017-04-06 10:15:32 +03:00
Matthias Schiffer 4a984a8d60
treewide: replace $(STAGING_DIR)/host and $(HOST_BUILD_PREFIX) with $(STAGING_DIR_HOSTPKG)
As both LEDE and OpenWrt have STAGING_DIR_HOSTPKG now, we can start to rely
on it. See 73b7f55424 for more information on
STAGING_DIR_HOSTPKG.

STAGING_DIR_HOSTPKG won't actually be changed before the first LEDE release
(it is equivalent to $(STAGING_DIR)/host), so this simple search/replace
cleanup is safe to apply. Doing this cleanup now will be useful for the
Gluon project (an OpenWrt/LEDE based firmware framework) for experimenting
with modifying STAGING_DIR_HOSTPKG before doing this in the LEDE upstream.

Also fixes a typo in the dbus Makefile ("STAGIND_DIR").

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2017-01-10 18:25:54 +01:00
John Crispin 844638d519 Merge pull request #3056 from plntyk/fix_node
node: fix soft/hard float compile on arm/mips
2016-10-04 09:13:11 +02:00
Matthias Schiffer 0da71b8f85
node: use default host install prefix
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2016-10-04 05:02:09 +02:00
Dirk Neukirchen bc86e32d43 node: fix soft/hard float compile on arm/mips
reported by brcm2708/2709 user on IRC

Signed-off-by: Dirk Neukirchen <plntyk.lede@plntyk.name>
2016-08-13 18:58:47 +02:00
Hirokazu MORIKAWA 865f44ef77 node,node-*: node update to v4.4.5 and Enhance CPU-arch variant. 2016-05-27 16:22:39 +09:00
Matthias Schiffer bbce5fce72
node: fix undefined behaviour leading to broken code with GCC 6
Fixes segfaults occuring in the node host build when GCC 6 is used.

Backport of upstream commit 96198d5bc710a4e3ca49eeeb3b3fa7b8cb61547d.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2016-05-09 16:27:48 +02:00
Matthias Schiffer 9125c3615f
node: update to v4.4.4
While we're at it, also enable parallel builds.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2016-05-09 16:21:44 +02:00
Hirokazu MORIKAWA 5a118cda9e node update v0.12.13 2016-04-21 16:43:14 +09:00
Felix Fietkau 9f8e5aca34 treewide: use $(STAGING_DIR)/host instead of $(STAGING_DIR_HOST), sync with changes in trunk
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2016-01-20 21:56:03 +01:00
Alexandru Ardelean e5ca27a97c node: fix build on x86 & x86.64 targets
For x86 and x86_64, nodejs has some special CPU
code that needs to be selected by specifying
the correct CPU name (correct for nodejs).

On OpenWRT x86 is i386 ; node wants ia32 for this.
And x86_64 is x64 on nodejs.

So, we just need to do the proper substitutions.

Note: the ARCH env-var is obtained from CONFIG_ARCH, after
some subtitutions are applied.
So, it shouldn't affect other target archs.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-12-19 18:23:23 +02:00
Matthias Schiffer 659719005e node: add python/host to HOST_BUILD_DEPENDS as well
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2015-10-28 01:10:09 +01:00
John Crispin 8ca186cd59 node: disable MIPS16
Signed-off-by: John Crispin <blogic@openwrt.org>
2015-10-26 00:57:48 +01:00
John Crispin 53cef1c9f1 node: add a python/host dependency
Signed-off-by: John Crispin <blogic@openwrt.org>
2015-10-20 13:26:25 +02:00
John Crispin 1fd7b5d1e6 nodejs: add 0.12 version of node
add node-js 0.12 and a few gyp bindings

Signed-off-by: John Crispin <blogic@openwrt.org>
2015-10-19 12:20:11 +02:00