From 10c6b4110761a1e4ac0353f63b9c5e1a0e97bd4f Mon Sep 17 00:00:00 2001 From: Hirokazu MORIKAWA Date: Fri, 1 Apr 2016 13:46:31 +0900 Subject: [PATCH 1/4] node-* : specify npm_config_cache directory --- lang/node-arduino-firmata/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/lang/node-arduino-firmata/Makefile b/lang/node-arduino-firmata/Makefile index b88b2c43e..a21b23348 100644 --- a/lang/node-arduino-firmata/Makefile +++ b/lang/node-arduino-firmata/Makefile @@ -52,6 +52,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 From 47f466e88d1fcbf9bb73d701745a87f9a6b1c741 Mon Sep 17 00:00:00 2001 From: Hirokazu MORIKAWA Date: Fri, 1 Apr 2016 13:47:59 +0900 Subject: [PATCH 2/4] node-* : specify npm_config_cache directory --- lang/node-cylon/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/lang/node-cylon/Makefile b/lang/node-cylon/Makefile index 9d9b827a1..25341d3bb 100644 --- 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 From ac000220c3d888a9fce189da174bf9afb6717e6b Mon Sep 17 00:00:00 2001 From: Hirokazu MORIKAWA Date: Fri, 1 Apr 2016 13:48:46 +0900 Subject: [PATCH 3/4] node-* : specify npm_config_cache directory --- lang/node-hid/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/lang/node-hid/Makefile b/lang/node-hid/Makefile index c40901bdc..3a929fb14 100644 --- a/lang/node-hid/Makefile +++ b/lang/node-hid/Makefile @@ -49,6 +49,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 From bca789b6bb432b55b076af4d7045a0d1a508f11c Mon Sep 17 00:00:00 2001 From: Hirokazu MORIKAWA Date: Fri, 1 Apr 2016 13:49:16 +0900 Subject: [PATCH 4/4] node-* : specify npm_config_cache directory --- lang/node-serialport/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/lang/node-serialport/Makefile b/lang/node-serialport/Makefile index c414628e3..90a9fd7aa 100644 --- a/lang/node-serialport/Makefile +++ b/lang/node-serialport/Makefile @@ -49,6 +49,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