2
0
forked from Ivasoft/openwrt

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>
This commit is contained in:
Filip Moc
2017-05-25 21:55:32 +02:00
committed by John Crispin
parent a639cbfd00
commit 43e4e1f4a5
5 changed files with 92 additions and 19 deletions

View File

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