package/libqmi: add gobject-introspection optional dependency

gobject-introspection is an optional dependency (enabled by default)
since version 1.26.0 and
2aa0badc79

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit af34a67be6)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2021-08-04 22:43:58 +02:00 committed by Peter Korsgaard
parent 6a127a9b07
commit 5b4698a094

View File

@ -16,6 +16,13 @@ LIBQMI_DEPENDENCIES = libglib2
LIBQMI_CONF_OPTS = --disable-Werror
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
LIBQMI_DEPENDENCIES += gobject-introspection
LIBQMI_CONF_OPTS += --enable-introspection
else
LIBQMI_CONF_OPTS += --disable-introspection
endif
# if libgudev available, request udev support for a better
# qmi-firmware-update experience
ifeq ($(BR2_PACKAGE_LIBGUDEV),y)