1 include $(TOPDIR
)/rules.mk
4 PKG_VERSION
:=2016-08-23
5 PKG_RELEASE
=$(PKG_SOURCE_VERSION
)
8 PKG_SOURCE_URL
=$(LEDE_GIT
)/project
/uqmi.git
9 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
10 PKG_SOURCE_VERSION
:=eb1dec7d0dc283a7f61aa574a443a0ab61f8793f
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
)-$(PKG_SOURCE_VERSION
).
tar.xz
12 PKG_MIRROR_MD5SUM
:=e6273e6aee6fce419e13f84439c240d48c32020fce7f07b2dc123ae32742382c
13 PKG_MAINTAINER
:=Matti Laakso
<malaakso@elisanet.fi
>
20 include $(INCLUDE_DIR
)/package.mk
21 include $(INCLUDE_DIR
)/cmake.mk
26 DEPENDS
:=+libubox
+libblobmsg-json
+kmod-usb-net
+kmod-usb-net-qmi-wwan
+wwan
27 TITLE
:=Control utility for mobile broadband modems
30 define Package
/uqmi
/description
31 uqmi is a command line tool for controlling mobile broadband modems using
36 -I
$(STAGING_DIR
)/usr
/include -ffunction-sections
-fdata-sections
38 TARGET_LDFLAGS
+= -Wl
,--gc-sections
43 define Package
/uqmi
/install
44 $(INSTALL_DIR
) $(1)/sbin
45 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/uqmi
$(1)/sbin
/
49 $(eval
$(call BuildPackage
,uqmi
))