From: Einar Jon Gunnarsson Date: Thu, 15 Apr 2021 11:19:56 +0000 (+0200) Subject: package/modem-manager: add support for introspection X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c45accd2956c491a7f8a26f6087ad99203899842;p=buildroot.git package/modem-manager: add support for introspection Enable introspection when GObject Introspection is enabled. Signed-off-by: Einar Jon Gunnarsson Acked-by: Aleksander Morgado [yann.morin.1998@free.fr: drop config option, rely on GOI package] Signed-off-by: Yann E. MORIN --- diff --git a/package/modem-manager/modem-manager.mk b/package/modem-manager/modem-manager.mk index 2cc45d266b..792a37b8db 100644 --- a/package/modem-manager/modem-manager.mk +++ b/package/modem-manager/modem-manager.mk @@ -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