0f42b81532
NetworkManager supports compiling against either NSS or GnuTLS and in fact upstream defaults to NSS if both are available and no choice is specified. Providing a choice can shrink images slightly if some other package is already pulling in NSS but GnuTLS is not otherwise required. Since a crypto provider is required and to maintain backwards compatibility, select GnuTLS when NSS is not selected. In keeping with the upstream default, choose NSS when both libraries are available. Signed-off-by: John Keeping <john@metanate.com> [Peter: rework to the meson equivalent] Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
70 lines
2.3 KiB
Plaintext
70 lines
2.3 KiB
Plaintext
config BR2_PACKAGE_NETWORK_MANAGER
|
|
bool "network-manager"
|
|
depends on !BR2_STATIC_LIBS # gnutls
|
|
depends on BR2_USE_MMU # dbus
|
|
depends on BR2_PACKAGE_HAS_UDEV
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
|
# Tested with 3.2, but may even work with earlier versions
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC # CLOCK_BOOTTIME, IPTOS_CLASS_*
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
|
|
depends on BR2_USE_WCHAR # libglib2
|
|
select BR2_PACKAGE_DBUS
|
|
select BR2_PACKAGE_GNUTLS if !BR2_PACKAGE_LIBNSS
|
|
select BR2_PACKAGE_LIBGLIB2
|
|
select BR2_PACKAGE_LIBNDP
|
|
select BR2_PACKAGE_UTIL_LINUX
|
|
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
|
|
help
|
|
NetworkManager is a set of co-operative tools that make
|
|
networking simple and straightforward. Whether WiFi, wired,
|
|
3G, or Bluetooth, NetworkManager allows you to quickly move
|
|
from one network to another: once a network has been
|
|
configured and joined once, it can be detected and re-joined
|
|
automatically the next time it's available.
|
|
|
|
http://projects.gnome.org/NetworkManager/
|
|
|
|
if BR2_PACKAGE_NETWORK_MANAGER
|
|
|
|
config BR2_PACKAGE_NETWORK_MANAGER_TUI
|
|
bool "nmtui support"
|
|
select BR2_PACKAGE_NEWT
|
|
help
|
|
This option enables terminal based UI
|
|
|
|
config BR2_PACKAGE_NETWORK_MANAGER_CLI
|
|
bool "nmcli support"
|
|
select BR2_PACKAGE_READLINE
|
|
help
|
|
This option enables support for the NetworkManager Command
|
|
Line Interface
|
|
|
|
config BR2_PACKAGE_NETWORK_MANAGER_MODEM_MANAGER
|
|
bool "modem-manager support"
|
|
select BR2_PACKAGE_MODEM_MANAGER
|
|
select BR2_PACKAGE_MOBILE_BROADBAND_PROVIDER_INFO
|
|
help
|
|
This option enables support for ModemManager
|
|
|
|
config BR2_PACKAGE_NETWORK_MANAGER_PPPD
|
|
bool "pppd support"
|
|
select BR2_PACKAGE_PPPD
|
|
help
|
|
This option enables support for PPPD daemon
|
|
|
|
config BR2_PACKAGE_NETWORK_MANAGER_OVS
|
|
bool "OpenVSwitch support"
|
|
select BR2_PACKAGE_JANSSON
|
|
help
|
|
This option enables support for OpenVSwitch
|
|
endif
|
|
|
|
comment "NetworkManager needs udev /dev management and a glibc toolchain w/ headers >= 4.6, dynamic library, wchar, threads, gcc >= 4.9"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_PACKAGE_HAS_UDEV || \
|
|
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6 || \
|
|
!BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS || \
|
|
!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|