1
0

Makefile 500 B

1234567891011121314151617181920212223242526
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=adb-enablemodem
  3. PKG_VERSION:=2017-03-05
  4. PKG_RELEASE:=1
  5. include $(INCLUDE_DIR)/package.mk
  6. define Package/adb-enablemodem
  7. SECTION:=net
  8. CATEGORY:=Network
  9. SUBMENU:=WWAN
  10. TITLE:=Enable modem via adb
  11. DEPENDS:=+adb
  12. endef
  13. define Build/Compile
  14. true
  15. endef
  16. define Package/adb-enablemodem/install
  17. $(INSTALL_DIR) $(1)/etc/init.d
  18. $(INSTALL_BIN) ./files/adb-enablemodem $(1)/etc/init.d/adb-enablemodem
  19. endef
  20. $(eval $(call BuildPackage,adb-enablemodem))