projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac00022
)
node-* : specify npm_config_cache directory
2569/head
author
Hirokazu MORIKAWA
<register@nxhack.com>
Fri, 1 Apr 2016 04:49:16 +0000
(13:49 +0900)
committer
Hirokazu MORIKAWA
<register@nxhack.com>
Fri, 1 Apr 2016 04:49:16 +0000
(13:49 +0900)
lang/node-serialport/Makefile
patch
|
blob
|
history
diff --git
a/lang/node-serialport/Makefile
b/lang/node-serialport/Makefile
index c414628e3711edf8702df8d4e4ea7d9a40cf1877..90a9fd7aa9ad123fa8a8b31f3351a36124f3cf8e 100644
(file)
--- 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