2014-08-22 19:02:30 +00:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=umbim
|
2023-05-17 13:08:40 +00:00
|
|
|
PKG_RELEASE:=24
|
2014-08-22 19:02:30 +00:00
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git
|
2018-01-05 09:46:06 +00:00
|
|
|
PKG_SOURCE_URL=$(PROJECT_GIT)/project/umbim.git
|
2022-08-13 17:01:15 +00:00
|
|
|
PKG_SOURCE_DATE:=2022-08-13
|
|
|
|
PKG_SOURCE_VERSION:=146bc77c98ace3d1cc672986669650d2e1da71f3
|
|
|
|
PKG_MIRROR_HASH:=3cf04858ff5c3f529904f9789b094aa9645ad41c91f553e6fc3fcd3cb341d359
|
2016-05-11 07:06:21 +00:00
|
|
|
PKG_MAINTAINER:=John Crispin <john@phrozen.org>
|
2014-08-22 19:02:30 +00:00
|
|
|
|
2014-11-02 12:20:54 +00:00
|
|
|
PKG_LICENSE:=GPL-2.0
|
2014-08-22 19:02:30 +00:00
|
|
|
PKG_LICENSE_FILES:=
|
|
|
|
|
2017-01-13 11:07:32 +00:00
|
|
|
PKG_FLAGS:=nonshared
|
2023-02-02 20:16:21 +00:00
|
|
|
PKG_BUILD_FLAGS:=gc-sections
|
2017-01-13 11:07:32 +00:00
|
|
|
|
2014-08-22 19:02:30 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
include $(INCLUDE_DIR)/cmake.mk
|
|
|
|
|
|
|
|
define Package/umbim
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2019-11-25 20:00:30 +00:00
|
|
|
SUBMENU:=WWAN
|
2017-01-11 18:47:33 +00:00
|
|
|
DEPENDS:=+libubox +kmod-usb-net +kmod-usb-net-cdc-mbim +wwan
|
2014-08-22 19:02:30 +00:00
|
|
|
TITLE:=Control utility for mobile broadband modems
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/umbim/description
|
|
|
|
umbim is a command line tool for controlling mobile broadband modems using
|
|
|
|
the MBIM-protocol.
|
|
|
|
endef
|
|
|
|
|
|
|
|
TARGET_CFLAGS += \
|
2023-02-02 20:16:21 +00:00
|
|
|
-I$(STAGING_DIR)/usr/include
|
2014-08-22 19:02:30 +00:00
|
|
|
|
|
|
|
define Package/umbim/install
|
|
|
|
$(INSTALL_DIR) $(1)/sbin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/umbim $(1)/sbin/
|
|
|
|
$(CP) ./files/* $(1)/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,umbim))
|