aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/adb-enablemodem/Makefile
diff options
context:
space:
mode:
authorFilip Moc <lede@moc6.cz>2017-05-25 21:55:32 +0200
committerJohn Crispin <john@phrozen.org>2017-05-27 07:54:40 +0200
commit43e4e1f4a530dd9a03fdad55ef62fe9c379561bf (patch)
tree2942ac2f52067e03e3849510b538eee082b5d2c8 /package/network/utils/adb-enablemodem/Makefile
parenta639cbfd00a47dc55b1e4cd47897fa0a3150d0e9 (diff)
downloadupstream-43e4e1f4a530dd9a03fdad55ef62fe9c379561bf.tar.gz
upstream-43e4e1f4a530dd9a03fdad55ef62fe9c379561bf.tar.bz2
upstream-43e4e1f4a530dd9a03fdad55ef62fe9c379561bf.zip
Move enablemodem from ramips to new package adb-enablemodem and make it used also by TL-MR6400
Signed-off-by: Filip Moc <lede@moc6.cz>
Diffstat (limited to 'package/network/utils/adb-enablemodem/Makefile')
-rw-r--r--package/network/utils/adb-enablemodem/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/package/network/utils/adb-enablemodem/Makefile b/package/network/utils/adb-enablemodem/Makefile
new file mode 100644
index 0000000000..3ffc64af0a
--- /dev/null
+++ b/package/network/utils/adb-enablemodem/Makefile
@@ -0,0 +1,26 @@
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=adb-enablemodem
+PKG_VERSION:=2017-03-05
+PKG_RELEASE:=1
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/adb-enablemodem
+ SECTION:=net
+ CATEGORY:=Network
+ SUBMENU:=WWAN
+ TITLE:=Enable modem via adb
+ DEPENDS:=+adb
+endef
+
+define Build/Compile
+ true
+endef
+
+define Package/adb-enablemodem/install
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/adb-enablemodem $(1)/etc/init.d/adb-enablemodem
+endef
+
+$(eval $(call BuildPackage,adb-enablemodem))