mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
Merge pull request #3293 from NeoRaider/node
node: use default host install prefix
This commit is contained in:
@@ -54,7 +54,7 @@ define Build/Compile
|
|||||||
npm_config_nodedir=$(BUILD_DIR)/node-v$(PKG_NODE_VERSION)/ \
|
npm_config_nodedir=$(BUILD_DIR)/node-v$(PKG_NODE_VERSION)/ \
|
||||||
npm_config_cache=$(BUILD_DIR)/node-v$(PKG_NODE_VERSION)/npm-cache \
|
npm_config_cache=$(BUILD_DIR)/node-v$(PKG_NODE_VERSION)/npm-cache \
|
||||||
PREFIX="$(PKG_INSTALL_DIR)/usr/" \
|
PREFIX="$(PKG_INSTALL_DIR)/usr/" \
|
||||||
$(STAGING_DIR)/host/bin/npm install -g $(PKG_BUILD_DIR)
|
npm install -g $(PKG_BUILD_DIR)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/node-arduino-firmata/install
|
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_nodedir=$(BUILD_DIR)/node-v$(PKG_NODE_VERSION)/ \
|
||||||
npm_config_cache=$(BUILD_DIR)/node-v$(PKG_NODE_VERSION)/npm-cache \
|
npm_config_cache=$(BUILD_DIR)/node-v$(PKG_NODE_VERSION)/npm-cache \
|
||||||
PREFIX="$(PKG_INSTALL_DIR)/usr/" \
|
PREFIX="$(PKG_INSTALL_DIR)/usr/" \
|
||||||
$(STAGING_DIR)/host/bin/npm install -g $(PKG_BUILD_DIR)
|
npm install -g $(PKG_BUILD_DIR)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/node-cylon/install
|
define Package/node-cylon/install
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ define Build/Compile
|
|||||||
npm_config_nodedir=$(BUILD_DIR)/node-v$(PKG_NODE_VERSION)/ \
|
npm_config_nodedir=$(BUILD_DIR)/node-v$(PKG_NODE_VERSION)/ \
|
||||||
npm_config_cache=$(BUILD_DIR)/node-v$(PKG_NODE_VERSION)/npm-cache \
|
npm_config_cache=$(BUILD_DIR)/node-v$(PKG_NODE_VERSION)/npm-cache \
|
||||||
PREFIX="$(PKG_INSTALL_DIR)/usr/" \
|
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
|
endef
|
||||||
|
|
||||||
define Package/node-hid/install
|
define Package/node-hid/install
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ define Build/Compile
|
|||||||
npm_config_nodedir=$(BUILD_DIR)/node-v$(PKG_NODE_VERSION)/ \
|
npm_config_nodedir=$(BUILD_DIR)/node-v$(PKG_NODE_VERSION)/ \
|
||||||
npm_config_cache=$(BUILD_DIR)/node-v$(PKG_NODE_VERSION)/npm-cache \
|
npm_config_cache=$(BUILD_DIR)/node-v$(PKG_NODE_VERSION)/npm-cache \
|
||||||
PREFIX="$(PKG_INSTALL_DIR)/usr/" \
|
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
|
endef
|
||||||
|
|
||||||
define Package/node-serialport/install
|
define Package/node-serialport/install
|
||||||
|
|||||||
+1
-1
@@ -61,7 +61,7 @@ HOST_CONFIGURE_VARS:=
|
|||||||
HOST_CONFIGURE_ARGS:= \
|
HOST_CONFIGURE_ARGS:= \
|
||||||
--dest-os=linux \
|
--dest-os=linux \
|
||||||
--without-snapshot \
|
--without-snapshot \
|
||||||
--prefix=$(STAGING_DIR)/host/
|
--prefix=$(HOST_BUILD_PREFIX)
|
||||||
|
|
||||||
HOST_CONFIGURE_CMD:=python ./configure
|
HOST_CONFIGURE_CMD:=python ./configure
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user