|
@@ -49,6 +49,7 @@ define Build/Compile
|
49
|
49
|
$(MAKE_FLAGS) \
|
50
|
50
|
npm_config_arch=$(CONFIG_ARCH) \
|
51
|
51
|
npm_config_nodedir=$(BUILD_DIR)/node-v$(PKG_NODE_VERSION)/ \
|
|
52
|
+ npm_config_cache=$(BUILD_DIR)/node-v$(PKG_NODE_VERSION)/npm-cache \
|
52
|
53
|
PREFIX="$(PKG_INSTALL_DIR)/usr/" \
|
53
|
54
|
$(STAGING_DIR)/host/bin/npm install -g $(PKG_BUILD_DIR)
|
54
|
55
|
endef
|