node: use default host install prefix
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
This commit is contained in:
parent
786d48aaa7
commit
0da71b8f85
5 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue