|
@@ -8,7 +8,6 @@ NODEJS_VERSION = 16.16.0
|
|
NODEJS_SOURCE = node-v$(NODEJS_VERSION).tar.xz
|
|
NODEJS_SOURCE = node-v$(NODEJS_VERSION).tar.xz
|
|
NODEJS_SITE = http://nodejs.org/dist/v$(NODEJS_VERSION)
|
|
NODEJS_SITE = http://nodejs.org/dist/v$(NODEJS_VERSION)
|
|
NODEJS_DEPENDENCIES = \
|
|
NODEJS_DEPENDENCIES = \
|
|
- host-nodejs \
|
|
|
|
host-ninja \
|
|
host-ninja \
|
|
host-pkgconf \
|
|
host-pkgconf \
|
|
host-python3 \
|
|
host-python3 \
|
|
@@ -240,6 +239,7 @@ NPM = $(TARGET_CONFIGURE_OPTS) \
|
|
# We can only call NPM if there's something to install.
|
|
# We can only call NPM if there's something to install.
|
|
#
|
|
#
|
|
ifneq ($(NODEJS_MODULES_LIST),)
|
|
ifneq ($(NODEJS_MODULES_LIST),)
|
|
|
|
+NODEJS_DEPENDENCIES += host-nodejs
|
|
define NODEJS_INSTALL_MODULES
|
|
define NODEJS_INSTALL_MODULES
|
|
# If you're having trouble with module installation, adding -d to the
|
|
# If you're having trouble with module installation, adding -d to the
|
|
# npm install call below and setting npm_config_rollback=false can both
|
|
# npm install call below and setting npm_config_rollback=false can both
|