package/uqmi: new package

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Peter Seiderer 2021-10-16 23:54:00 +02:00 committed by Thomas Petazzoni
parent 436378ecd5
commit a8295d4c9e
5 changed files with 34 additions and 0 deletions

View File

@ -2174,6 +2174,7 @@ F: package/racehound/
F: package/redir/
F: package/rtl8812au-aircrack-ng/
F: package/uredir/
F: package/uqmi/
F: package/wayland-utils/
N: Peter Thompson <peter.macleod.thompson@gmail.com>

View File

@ -2343,6 +2343,7 @@ endif
source "package/uhttpd/Config.in"
source "package/ulogd/Config.in"
source "package/unbound/Config.in"
source "package/uqmi/Config.in"
source "package/uredir/Config.in"
source "package/ushare/Config.in"
source "package/ussp-push/Config.in"

15
package/uqmi/Config.in Normal file
View File

@ -0,0 +1,15 @@
config BR2_PACKAGE_UQMI
bool "uqmi"
depends on !BR2_STATIC_LIBS # libubox
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c
select BR2_PACKAGE_JSON_C
select BR2_PACKAGE_LIBUBOX
help
This command line tool originates from the OpenWrt project
to configure LTE modem in QMI mode for WAN connection.
https://git.openwrt.org/project/uqmi.git
comment "uqmi needs a toolchain w/ dynamic library"
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on BR2_STATIC_LIBS

3
package/uqmi/uqmi.hash Normal file
View File

@ -0,0 +1,3 @@
# Locally calculated
sha256 aae6a72791da8f58012303ba3bfeeb613e74597cbebfb9e7c2d9125e6f256799 uqmi-0a19b5b77140465c29e2afa7d611fe93abc9672f-br1.tar.gz
sha256 a69bf44dbff15d727578d2069a654d60e9034c5e2cc3e199a012e72afef6c259 main.c

14
package/uqmi/uqmi.mk Normal file
View File

@ -0,0 +1,14 @@
################################################################################
#
# uqmi
#
################################################################################
UQMI_VERSION = 0a19b5b77140465c29e2afa7d611fe93abc9672f
UQMI_SITE = https://git.openwrt.org/project/uqmi.git
UQMI_SITE_METHOD = git
UQMI_LICENSE = LGPL-2.0+
UQMI_LICENSE_FILES = main.c
UQMI_DEPENDENCIES = json-c libubox
$(eval $(cmake-package))