summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2016-10-04 04:57:54 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2016-10-04 05:02:09 +0200
commit0da71b8f8591f2f2eb9e931749fcfdaef58a3bf2 (patch)
tree89ce49311318994cd06660c18f834216695459b8
parent786d48aaa7324d9bb18de34deda540fdd3cdaee6 (diff)
node: use default host install prefix
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
-rw-r--r--lang/node-arduino-firmata/Makefile2
-rw-r--r--lang/node-cylon/Makefile2
-rw-r--r--lang/node-hid/Makefile2
-rw-r--r--lang/node-serialport/Makefile2
-rw-r--r--lang/node/Makefile2
5 files changed, 5 insertions, 5 deletions
diff --git a/lang/node-arduino-firmata/Makefile b/lang/node-arduino-firmata/Makefile
index 209c68403..f4de0c0c4 100644
--- a/lang/node-arduino-firmata/Makefile
+++ b/lang/node-arduino-firmata/Makefile
@@ -54,7 +54,7 @@ define Build/Compile
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)
+ npm install -g $(PKG_BUILD_DIR)
endef
define Package/node-arduino-firmata/install
diff --git a/lang/node-cylon/Makefile b/lang/node-cylon/Makefile
index 272c8fbfb..13833a355 100644
--- a/lang/node-cylon/Makefile
+++ b/lang/node-cylon/Makefile
@@ -69,7 +69,7 @@ define Build/Compile
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)
+ npm install -g $(PKG_BUILD_DIR)
endef
define Package/node-cylon/install
diff --git a/lang/node-hid/Makefile b/lang/node-hid/Makefile
index 2b6031aa6..b8a5b7ab9 100644
--- a/lang/node-hid/Makefile
+++ b/lang/node-hid/Makefile
@@ -53,7 +53,7 @@ define Build/Compile
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 --build-from-source --target_arch=$(CPU) -g $(PKG_BUILD_DIR)
+ npm install --build-from-source --target_arch=$(CPU) -g $(PKG_BUILD_DIR)
endef
define Package/node-hid/install
diff --git a/lang/node-serialport/Makefile b/lang/node-serialport/Makefile
index 09e66219b..310940492 100644
--- a/lang/node-serialport/Makefile
+++ b/lang/node-serialport/Makefile
@@ -53,7 +53,7 @@ define Build/Compile
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 --build-from-source --target_arch=$(CPU) -g $(PKG_BUILD_DIR)
+ npm install --build-from-source --target_arch=$(CPU) -g $(PKG_BUILD_DIR)
endef
define Package/node-serialport/install
diff --git a/lang/node/Makefile b/lang/node/Makefile
index 4f9aa7960..51ed57fe5 100644
--- a/lang/node/Makefile
+++ b/lang/node/Makefile
@@ -61,7 +61,7 @@ HOST_CONFIGURE_VARS:=
HOST_CONFIGURE_ARGS:= \
--dest-os=linux \
--without-snapshot \
- --prefix=$(STAGING_DIR)/host/
+ --prefix=$(HOST_BUILD_PREFIX)
HOST_CONFIGURE_CMD:=python ./configure