mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
node-* : specify npm_config_cache directory
This commit is contained in:
@@ -52,6 +52,7 @@ define Build/Compile
|
|||||||
$(MAKE_FLAGS) \
|
$(MAKE_FLAGS) \
|
||||||
npm_config_arch=$(CONFIG_ARCH) \
|
npm_config_arch=$(CONFIG_ARCH) \
|
||||||
npm_config_nodedir=$(BUILD_DIR)/node-v$(PKG_NODE_VERSION)/ \
|
npm_config_nodedir=$(BUILD_DIR)/node-v$(PKG_NODE_VERSION)/ \
|
||||||
|
npm_config_cache=$(BUILD_DIR)/node-v$(PKG_NODE_VERSION)/npm-cache \
|
||||||
PREFIX="$(PKG_INSTALL_DIR)/usr/" \
|
PREFIX="$(PKG_INSTALL_DIR)/usr/" \
|
||||||
$(STAGING_DIR)/host/bin/npm install -g $(PKG_BUILD_DIR)
|
$(STAGING_DIR)/host/bin/npm install -g $(PKG_BUILD_DIR)
|
||||||
endef
|
endef
|
||||||
|
|||||||
Reference in New Issue
Block a user