mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 13:48:06 +00:00
c8955268bc
Refactor version of adb-enablemodem for APK. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
27 lines
500 B
Makefile
27 lines
500 B
Makefile
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))
|