Skip to contentSkip to conversation

package/modem-manager: add introspection option

PATCH New Einar Jon Gunnarsson 4 participants 4 messages Apr 15, 2021 – Apr 25, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/modem-manager: add introspection option

Add a flag to enable gobject-introspection

---
 package/modem-manager/Config.in        | 7 +++++++
 package/modem-manager/modem-manager.mk | 7 +++++++
 2 files changed, 14 insertions(+)
package/modem-manager/Config.in +7 -0
index c4c723776d..67c4bf167c 100644
@@ -25,6 +25,13 @@ config BR2_PACKAGE_MODEM_MANAGER_LIBQMI
 	select BR2_PACKAGE_LIBQMI
 	help
 	  This option enables support for QMI protocol
+
+config BR2_PACKAGE_MODEM_MANAGER_INTROSPECTION
+	bool "introspection support"
+	depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS
+	select BR2_PACKAGE_GOBJECT_INTROSPECTION
+	help
+	  This option enables support for GObject introspection
 endif
 
 comment "modemmanager needs a toolchain w/ wchar, threads"
package/modem-manager/modem-manager.mk +7 -0
index 2cc45d266b..cc8c49625f 100644
@@ -34,6 +34,13 @@ else
 MODEM_MANAGER_CONF_OPTS += --without-mbim
 endif
 
+ifeq ($(BR2_PACKAGE_MODEM_MANAGER_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
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 package/modem-manager: add introspection option

Quoted 4 lines · Einar Jon Gunnarsson

Add a flag to enable gobject-introspection

Nice!

Quoted 44 lines
---
 package/modem-manager/Config.in        | 7 +++++++
 package/modem-manager/modem-manager.mk | 7 +++++++
 2 files changed, 14 insertions(+)
package/modem-manager/Config.in +7 -0
index c4c723776d..67c4bf167c 100644
@@ -25,6 +25,13 @@ config BR2_PACKAGE_MODEM_MANAGER_LIBQMI
        select BR2_PACKAGE_LIBQMI
        help
          This option enables support for QMI protocol
+
+config BR2_PACKAGE_MODEM_MANAGER_INTROSPECTION
+       bool "introspection support"
+       depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS
+       select BR2_PACKAGE_GOBJECT_INTROSPECTION
+       help
+         This option enables support for GObject introspection
 endif
 
 comment "modemmanager needs a toolchain w/ wchar, threads"
package/modem-manager/modem-manager.mk +7 -1
index 2cc45d266b..cc8c49625f 100644
@@ -34,6 +34,13 @@ else
 MODEM_MANAGER_CONF_OPTS += --without-mbim
 endif
 
+ifeq ($(BR2_PACKAGE_MODEM_MANAGER_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
--

2.17.1

Signature · 2 lines
Aleksander
https://aleksander.es
#2 lore raw

PATCH 1/1 package/modem-manager: add introspection option

In reply to Einar Jon Gunnarsson

Einar, All,

On 2021-04-15 13:19 +0200, Einar Jon Gunnarsson spake thusly:

Quoted 3 lines

Add a flag to enable gobject-introspection

I've dropped the config option, to instead directly rely on the GOI package to be enabled, and applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 48 lines
---
 package/modem-manager/Config.in        | 7 +++++++
 package/modem-manager/modem-manager.mk | 7 +++++++
 2 files changed, 14 insertions(+)
package/modem-manager/Config.in +7 -0
index c4c723776d..67c4bf167c 100644
@@ -25,6 +25,13 @@ config BR2_PACKAGE_MODEM_MANAGER_LIBQMI
 	select BR2_PACKAGE_LIBQMI
 	help
 	  This option enables support for QMI protocol
+
+config BR2_PACKAGE_MODEM_MANAGER_INTROSPECTION
+	bool "introspection support"
+	depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS
+	select BR2_PACKAGE_GOBJECT_INTROSPECTION
+	help
+	  This option enables support for GObject introspection
 endif
 
 comment "modemmanager needs a toolchain w/ wchar, threads"
package/modem-manager/modem-manager.mk +7 -0
index 2cc45d266b..cc8c49625f 100644
@@ -34,6 +34,13 @@ else
 MODEM_MANAGER_CONF_OPTS += --without-mbim
 endif
 
+ifeq ($(BR2_PACKAGE_MODEM_MANAGER_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
Signature · 6 lines
2.17.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#3 lore raw

PATCH 1/1 package/modem-manager: add introspection option

Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yann" == Yann E MORIN <[email protected]> writes:

Einar, All,
On 2021-04-15 13:19 +0200, Einar Jon Gunnarsson spake thusly:

Quoted 3 lines

Add a flag to enable gobject-introspection

I've dropped the config option, to instead directly rely on the GOI package to be enabled, and applied to master, thanks.

Committed to 2021.02.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard