[Buildroot] [PATCH v1 5/5] package/uqmi: new package

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Oct 18 19:33:34 UTC 2021


On Sat, 16 Oct 2021 23:54:00 +0200
Peter Seiderer <ps.report at gmx.net> wrote:

> diff --git a/package/uqmi/Config.in b/package/uqmi/Config.in
> new file mode 100644
> index 0000000000..47b19e04d4
> --- /dev/null
> +++ b/package/uqmi/Config.in
> @@ -0,0 +1,14 @@
> +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"

You had forgotten:

	depends on BR2_TOOLCHAIN_HAS_SYNC_4

here.

> +	depends on BR2_STATIC_LIBS
> +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_INSTALL_STAGING = YES

I dropped this line, as you suggested.

Applied with those two changes. Thanks!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com


More information about the buildroot mailing list