package/modem-manager: qrtr needs qmi
PATCH v2 1/1 package/modem-manager: qrtr needs qmi
Fix the following build failure raised since bump to version 1.20.2 in commit b95334b71fbdde0f7621b58ed35fa98df9e0966d:
../output-1/build/modem-manager-1.20.2/meson.build:262:2: ERROR: Assert failed: QRTR support requires QMI enabled
Fixes:
- http://autobuild.buildroot.org/results/04b9a41c5edbc492ef640b27d4d3d896d230cf34
---
Changes v1 -> v2:
- Select BR2_PACKAGE_MODEM_MANAGER_LIBQMI instead of BR2_PACKAGE_LIBQMI
package/modem-manager/Config.in | 12 ++++++++++++ package/modem-manager/modem-manager.mk | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-)
package/modem-manager/Config.in +12 -0
@@ -25,6 +25,18 @@ config BR2_PACKAGE_MODEM_MANAGER_LIBQMI select BR2_PACKAGE_LIBQMI help This option enables support for QMI protocol + +config BR2_PACKAGE_MODEM_MANAGER_LIBQRTR + bool "QRTR support" + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15 # libqrtr-glib + select BR2_PACKAGE_LIBQRTR_GLIB + select BR2_PACKAGE_MODEM_MANAGER_LIBQMI + help + This option enables support for QRTR protocol + +comment "QRTR support needs a toolchain w/ headers >= 4.15" + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15 + endif comment "modemmanager needs a toolchain w/ wchar, threads"
package/modem-manager/modem-manager.mk +1 -1
@@ -37,7 +37,7 @@ else MODEM_MANAGER_CONF_OPTS += -Dmbim=false endif -ifeq ($(BR2_PACKAGE_LIBQRTR_GLIB),y) +ifeq ($(BR2_PACKAGE_MODEM_MANAGER_LIBQRTR),y) MODEM_MANAGER_DEPENDENCIES += libqrtr-glib MODEM_MANAGER_CONF_OPTS += -Dqrtr=true else
Signature · 6 lines
2.35.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Yann E. MORIN
AppliedFabrice, All,
On 2022-12-31 10:49 +0100, Fabrice Fontaine spake thusly:
Quoted 9 lines
Fix the following build failure raised since bump to version 1.20.2 in commit
b95334b71fbdde0f7621b58ed35fa98df9e0966d:../output-1/build/modem-manager-1.20.2/meson.build:262:2: ERROR: Assert failed: QRTR support requires QMI enabled
Fixes:
- http://autobuild.buildroot.org/results/04b9a41c5edbc492ef640b27d4d3d896d230cf34Signed-off-by Fabrice Fontaine <[email protected]>
Applied to master, thanks.
Regards,
Yann E. MORIN.
Quoted 51 lines
---
Changes v1 -> v2:
- SelectBR2_PACKAGE_MODEM_MANAGER_LIBQMIinstead ofBR2_PACKAGE_LIBQMIpackage/modem-manager/Config.in | 12 ++++++++++++ package/modem-manager/modem-manager.mk | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-)package/modem-manager/Config.in +12
-0@@ -25,6 +25,18 @@ config BR2_PACKAGE_MODEM_MANAGER_LIBQMI select BR2_PACKAGE_LIBQMI help This option enables support for QMI protocol + +config BR2_PACKAGE_MODEM_MANAGER_LIBQRTR + bool "QRTR support" + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15 # libqrtr-glib + select BR2_PACKAGE_LIBQRTR_GLIB + select BR2_PACKAGE_MODEM_MANAGER_LIBQMI + help + This option enables support for QRTR protocol + +comment "QRTR support needs a toolchain w/ headers >= 4.15" + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15 + endif comment "modemmanager needs a toolchain w/ wchar, threads"package/modem-manager/modem-manager.mk +1
-1@@ -37,7 +37,7 @@ else MODEM_MANAGER_CONF_OPTS += -Dmbim=false endif -ifeq ($(BR2_PACKAGE_LIBQRTR_GLIB),y) +ifeq ($(BR2_PACKAGE_MODEM_MANAGER_LIBQRTR),y) MODEM_MANAGER_DEPENDENCIES += libqrtr-glib MODEM_MANAGER_CONF_OPTS += -Dqrtr=true elseSignature · 6 lines
2.35.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 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. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot