kumquat-buildroot/package/modem-manager/Config.in
Fabrice Fontaine d9c146f0a5 package/modem-manager: needs dynamic library
Commit d769cfc13f was incomplete as
plugins/meson.build still unconditionally calls shared_module. So add a
dependency to dynamic library to avoid the following static build
failure raised since bump to version 1.20.2 in commit
b95334b71f:

[238/417] Linking target plugins/libmm-shared-telit.so
FAILED: plugins/libmm-shared-telit.so

Building statically could be enabled back through builtin_plugins as
soon as
1c4da332ee
lands in a stable release

Fixes:
 - http://autobuild.buildroot.org/results/deb2a752accb021392bb9dc3d06b2b1bf151535c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-02-20 21:46:40 +01:00

47 lines
1.3 KiB
Plaintext

config BR2_PACKAGE_MODEM_MANAGER
bool "modem-manager"
depends on BR2_USE_WCHAR # libglib2 and gnutls
depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
depends on BR2_USE_MMU # dbus
depends on !BR2_STATIC_LIBS
select BR2_PACKAGE_DBUS
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_LIBGUDEV if BR2_PACKAGE_HAS_UDEV
help
ModemManager is a DBus-activated daemon which controls mobile
broadband (2G/3G/4G) devices and connections.
http://www.freedesktop.org/wiki/Software/ModemManager/
if BR2_PACKAGE_MODEM_MANAGER
config BR2_PACKAGE_MODEM_MANAGER_LIBMBIM
bool "MBIM support"
select BR2_PACKAGE_LIBMBIM
help
This option enables support for MBIM protocol
config BR2_PACKAGE_MODEM_MANAGER_LIBQMI
bool "QMI support"
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, dynamic library"
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
BR2_STATIC_LIBS
depends on BR2_USE_MMU