mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 00:20:38 -09:00
The network-manager package currently pulls in either gnutls or libnss, neither of which are very common and it might be the only reason why they are present on a system. However, most of NetworkManager works just fine without any cryptography support, it only seems to be used in test cases and 802.1X support code. Remove the dependency but use a library if it is present. Note that this changes the default behavior. If network-manager was the only package pulling in gnutls, it won't do this anymore and use the "null" backend. Add a note about this to the manual. Signed-off-by: Florian Larysch <fl@n621.de> Tested-by: Marcus Hoffmann <buildroot@bubu1.eu> Reviewed-by: Marcus Hoffmann <buildroot@bubu1.eu> [Marcus: Change buildroot version to 2026.02 in migrating.adoc] Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
70 lines
2.2 KiB
Plaintext
70 lines
2.2 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
|
|
# We need NETLINK_GET_STRICT_CHK
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
|
|
depends on BR2_USE_WCHAR # libglib2
|
|
select BR2_PACKAGE_DBUS
|
|
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.
|
|
|
|
https://networkmanager.dev/
|
|
|
|
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 or musl toolchain w/ headers >= 5.4, dynamic library, wchar, threads, gcc >= 4.9"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_PACKAGE_HAS_UDEV || \
|
|
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 || \
|
|
!(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL) || \
|
|
BR2_STATIC_LIBS || \
|
|
!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|