commit 47f466e88d1fcbf9bb73d701745a87f9a6b1c741
parent 10c6b4110761a1e4ac0353f63b9c5e1a0e97bd4f
Author: Hirokazu MORIKAWA <register@nxhack.com>
Date: Fri, 1 Apr 2016 13:47:59 +0900
node-* : specify npm_config_cache directory
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/lang/node-cylon/Makefile b/lang/node-cylon/Makefile
@@ -67,6 +67,7 @@ define Build/Compile
$(MAKE_FLAGS) \
npm_config_arch=$(CONFIG_ARCH) \
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/" \
$(STAGING_DIR)/host/bin/npm install -g $(PKG_BUILD_DIR)
endef