kumquat-buildroot/package/libqmi/libqmi.mk
Fabrice Fontaine 61db8b7a43 package/libqmi: bump to version 1.22.4
libqmi >= 1.22.4 is needed by modem-manager 1.10.2

Fixes:
 - http://autobuild.buildroot.org/results/14e11c6136db09b36d84246a7472b77bb4bfdd19

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Tested-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2019-07-10 22:32:02 +02:00

48 lines
1.3 KiB
Makefile

################################################################################
#
# libqmi
#
################################################################################
LIBQMI_VERSION = 1.22.4
LIBQMI_SITE = http://www.freedesktop.org/software/libqmi
LIBQMI_SOURCE = libqmi-$(LIBQMI_VERSION).tar.xz
LIBQMI_LICENSE = LGPL-2.0+ (library), GPL-2.0+ (programs)
LIBQMI_LICENSE_FILES = COPYING COPYING.LIB
LIBQMI_INSTALL_STAGING = YES
# 0001-musl-compat-canonicalize_file_name.patch
LIBQMI_AUTORECONF = YES
LIBQMI_DEPENDENCIES = libglib2
# we don't want -Werror
LIBQMI_CONF_OPTS = --enable-more-warnings=no
# if libgudev available, request udev support for a better
# qmi-firmware-update experience
ifeq ($(BR2_PACKAGE_LIBGUDEV),y)
LIBQMI_DEPENDENCIES += libgudev
LIBQMI_CONF_OPTS += --with-udev
else
LIBQMI_CONF_OPTS += --without-udev
endif
# if libmbim available, request QMI-over-MBIM support
ifeq ($(BR2_PACKAGE_LIBMBIM),y)
LIBQMI_DEPENDENCIES += libmbim
LIBQMI_CONF_OPTS += --enable-mbim-qmux
else
LIBQMI_CONF_OPTS += --disable-mbim-qmux
endif
# if ModemManager available, enable MM runtime check in
# qmi-firmware-update (note that we don't need to build-depend on
# anything else)
ifeq ($(BR2_PACKAGE_MODEM_MANAGER),y)
LIBQMI_CONF_OPTS += --enable-mm-runtime-check
else
LIBQMI_CONF_OPTS += --disable-mm-runtime-check
endif
$(eval $(autotools-package))