From 51a5ff094703c4db984284913d605e83e819d99c Mon Sep 17 00:00:00 2001 From: John Crispin Date: Fri, 10 Oct 2014 08:56:33 +0000 Subject: comgt: add ncm proto support This will not work for all board/dongle combinations until we hit 3.17. Signed-off-by: Matti Laakso SVN-Revision: 42866 --- package/network/utils/comgt/Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'package/network/utils/comgt/Makefile') diff --git a/package/network/utils/comgt/Makefile b/package/network/utils/comgt/Makefile index 11a1a49139..5fccd947e6 100644 --- a/package/network/utils/comgt/Makefile +++ b/package/network/utils/comgt/Makefile @@ -40,6 +40,12 @@ $(call Package/comgt/Default) DEPENDS:=+comgt +kmod-usb-serial +kmod-usb-serial-sierrawireless +kmod-usb-net +kmod-usb-net-sierrawireless endef +define Package/comgt-ncm +$(call Package/comgt/Default) + TITLE+=NCM 3G/4G Support + DEPENDS:=+comgt +kmod-usb-serial +kmod-usb-serial-option +kmod-usb-net +kmod-usb-net-cdc-ncm +kmod-usb-net-huawei-cdc-ncm +endef + define Package/comgt/description comgt is a scripting language interpreter useful for establishing communications on serial lines and through PCMCIA modems as well as GPRS @@ -86,5 +92,14 @@ define Package/comgt-directip/install $(INSTALL_BIN) ./files/directip.sh $(1)/lib/netifd/proto/directip.sh endef +define Package/comgt-ncm/install + $(INSTALL_DIR) $(1)/etc/gcom + $(INSTALL_DATA) ./files/ncm.json $(1)/etc/gcom/ncm.json + $(INSTALL_DATA) ./files/runcommand.gcom $(1)/etc/gcom/runcommand.gcom + $(INSTALL_DIR) $(1)/lib/netifd/proto + $(INSTALL_BIN) ./files/ncm.sh $(1)/lib/netifd/proto/ncm.sh +endef + $(eval $(call BuildPackage,comgt)) $(eval $(call BuildPackage,comgt-directip)) +$(eval $(call BuildPackage,comgt-ncm)) -- cgit v1.2.3