Skip to content
Snippets Groups Projects
Unverified Commit 95e7752d authored by Michal Hrusecky's avatar Michal Hrusecky :mouse:
Browse files

mozilla-iot-gateway: Try to fix a build

parent 12c3f922
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ index c555edb..3aeb671 100644
DEPENDS+= +MOIT_enable-plugin-support:git-http
MENU:=1
endef
@@ -65,18 +65,23 @@ define Build/Compile
@@ -65,18 +65,25 @@ define Build/Compile
endef
define Package/node-mozilla-iot-gateway/install
......@@ -46,6 +46,8 @@ index c555edb..3aeb671 100644
+ $(RM) -r $(1)/srv/mozilla-iot/gateway/node_modules/sqlite3/lib/binding/node-v57-linux-x64
+ $(RM) -r $(1)/srv/mozilla-iot/gateway/node_modules/ursa-optional/build/Release/ursaNative.node
+ $(RM) -r $(1)/srv/mozilla-iot/gateway/node_modules/ursa-optional/build/Release/obj.target/ursaNative.node
+ $(RM) -r $(1)/srv/mozilla-iot/gateway/node_modules/nanomsg/build/Release/obj.target/node_nanomsg.node
+ $(RM) -r $(1)/srv/mozilla-iot/gateway/node_modules/nanomsg/build/Release/node_nanomsg.node
+
+ $(INSTALL_DIR) $(1)/srv/mozilla-iot/gateway/node_modules/sqlite3/lib/binding/node-v57-linux-$(CPU)/
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/node_modules/things-gateway/node_modules/sqlite3/lib/binding/node-v57-linux-$(CPU)/node_sqlite3.node \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment