package/modem-manager: add support for introspection

Enable introspection when GObject Introspection is enabled.

Signed-off-by: Einar Jon Gunnarsson <tolvupostur@gmail.com>
Acked-by: Aleksander Morgado <aleksander@aleksander.es>
[yann.morin.1998@free.fr: drop config option, rely on GOI package]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Einar Jon Gunnarsson 2021-04-15 13:19:56 +02:00 committed by Yann E. MORIN
parent 87ba7be02f
commit c45accd295

View File

@ -34,6 +34,13 @@ else
MODEM_MANAGER_CONF_OPTS += --without-mbim
endif
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
MODEM_MANAGER_DEPENDENCIES += gobject-introspection
MODEM_MANAGER_CONF_OPTS += --enable-introspection
else
MODEM_MANAGER_CONF_OPTS += --disable-introspection
endif
define MODEM_MANAGER_INSTALL_INIT_SYSV
$(INSTALL) -m 0755 -D package/modem-manager/S44modem-manager \
$(TARGET_DIR)/etc/init.d/S44modem-manager