--- /dev/null
+menu "Configuration"
+depends on PACKAGE_libqmi
+
+ config LIBQMI_WITH_MBIM_QMUX
+ bool "Include MBIM QMUX service support"
+ default y
+ help
+ Compile libqmi with QMI-over-MBIM support
+endmenu
PKG_NAME:=libqmi
PKG_VERSION:=1.26.6
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://www.freedesktop.org/software/libqmi
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/nls.mk
+define Package/libqmi/config
+ source "$(SOURCE)/Config.in"
+endef
+
define Package/libqmi
SECTION:=libs
CATEGORY:=Libraries
- DEPENDS:=+libmbim
+ DEPENDS:= \
+ +glib2 \
+ +LIBQMI_WITH_MBIM_QMUX:libmbim
TITLE:=Helper library to talk to QMI enabled modems
URL:=https://www.freedesktop.org/wiki/Software/libqmi
LICENSE:=LGPL-2.0-or-later
--disable-gtk-doc-pdf \
--disable-silent-rules \
--enable-firmware-update \
- --enable-mbim-qmux \
+ --$(if $(LIBQMI_WITH_MBIM_QMUX),en,dis)able-mbim-qmux \
--enable-more-warnings=yes \
--without-udev \
--without-udev-base-dir