Browse Source

node: use default host install prefix

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
lilik-openwrt-22.03
Matthias Schiffer 8 years ago
parent
commit
0da71b8f85
No known key found for this signature in database GPG Key ID: 16EF3F64CB201D9C
5 changed files with 5 additions and 5 deletions
  1. +1
    -1
      lang/node-arduino-firmata/Makefile
  2. +1
    -1
      lang/node-cylon/Makefile
  3. +1
    -1
      lang/node-hid/Makefile
  4. +1
    -1
      lang/node-serialport/Makefile
  5. +1
    -1
      lang/node/Makefile

+ 1
- 1
lang/node-arduino-firmata/Makefile View File

@ -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


+ 1
- 1
lang/node-cylon/Makefile View File

@ -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


+ 1
- 1
lang/node-hid/Makefile View File

@ -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


+ 1
- 1
lang/node-serialport/Makefile View File

@ -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


+ 1
- 1
lang/node/Makefile View File

@ -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…
Cancel
Save