kumquat-buildroot/package/modem-manager/Config.in
Yegor Yefremov 259fe50be7 modem-manager: select libgudev, if systemd is enabled
When eudev is used as the udev provider, libgudev is automatically
provided as it is part of eudev. However, when systemd is used as
the udev provider, libgudev is not provided, and needs to be built
separately. This is why we select the libgudev package only if
systemd is used.

Fixes: http://autobuild.buildroot.net/results/d59/d597a81271a082c8252e2333906815c437b6576d/

While at it, group the existing dbus select together with the dbus-glib
select, so that all "select" statements are together.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-09-20 15:09:09 +02:00

35 lines
1023 B
Plaintext

config BR2_PACKAGE_MODEM_MANAGER
bool "modemmanager"
depends on BR2_PACKAGE_HAS_UDEV
depends on BR2_USE_WCHAR # libglib2 and gnutls
depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
depends on BR2_USE_MMU # dbus
select BR2_PACKAGE_DBUS
select BR2_PACKAGE_DBUS_GLIB
select BR2_PACKAGE_LIBGUDEV if BR2_INIT_SYSTEMD
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
endif
comment "modemmanager needs udev /dev management and a toolchain w/ wchar, threads"
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_PACKAGE_HAS_UDEV
depends on BR2_USE_MMU