1 include $(TOPDIR)/rules.mk
4 PKG_VERSION:=2014-07-17
10 PKG_MAINTAINER:=John Crispin <blogic@openwrt.org>
12 include $(INCLUDE_DIR)/package.mk
17 TITLE:=Generic OpenWrt 3G/4G proto handler
24 define Package/wwan/install
25 $(INSTALL_DIR) $(1)/lib/netifd/proto/
26 $(CP) ./files/wwan.sh $(1)/lib/netifd/proto/
27 $(INSTALL_DIR) $(1)/etc/hotplug.d/usb
28 $(INSTALL_BIN) ./files/wwan.usb $(1)/etc/hotplug.d/usb/00_wwan.sh
29 $(INSTALL_DIR) $(1)/etc/hotplug.d/usbmisc
30 $(INSTALL_BIN) ./files/wwan.usbmisc $(1)/etc/hotplug.d/usbmisc/00_wwan.sh
31 $(INSTALL_DIR) $(1)/lib/network/wwan/
32 $(INSTALL_DATA) ./files/data/* $(1)/lib/network/wwan/
35 $(eval $(call BuildPackage,wwan))