1config BR2_PACKAGE_NETWORK_MANAGER
2	bool "network-manager"
3	depends on !BR2_STATIC_LIBS # gnutls
4	depends on BR2_USE_MMU # dbus
5	depends on BR2_PACKAGE_HAS_UDEV
6	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
7	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
8	depends on BR2_TOOLCHAIN_USES_GLIBC # CLOCK_BOOTTIME, IPTOS_CLASS_*
9	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
10	depends on BR2_USE_WCHAR # libglib2
11	select BR2_PACKAGE_DBUS
12	select BR2_PACKAGE_GNUTLS if !BR2_PACKAGE_LIBNSS
13	select BR2_PACKAGE_LIBGLIB2
14	select BR2_PACKAGE_LIBNDP
15	select BR2_PACKAGE_UTIL_LINUX
16	select BR2_PACKAGE_UTIL_LINUX_LIBUUID
17	help
18	  NetworkManager is a set of co-operative tools that make
19	  networking simple and straightforward. Whether WiFi, wired,
20	  3G, or Bluetooth, NetworkManager allows you to quickly move
21	  from one network to another: once a network has been
22	  configured and joined once, it can be detected and re-joined
23	  automatically the next time it's available.
24
25	  http://projects.gnome.org/NetworkManager/
26
27if BR2_PACKAGE_NETWORK_MANAGER
28
29config BR2_PACKAGE_NETWORK_MANAGER_TUI
30	bool "nmtui support"
31	select BR2_PACKAGE_NEWT
32	help
33	  This option enables terminal based UI
34
35config BR2_PACKAGE_NETWORK_MANAGER_CLI
36	bool "nmcli support"
37	select BR2_PACKAGE_READLINE
38	help
39	  This option enables support for the NetworkManager Command
40	  Line Interface
41
42config BR2_PACKAGE_NETWORK_MANAGER_MODEM_MANAGER
43	bool "modem-manager support"
44	select BR2_PACKAGE_MODEM_MANAGER
45	select BR2_PACKAGE_MOBILE_BROADBAND_PROVIDER_INFO
46	help
47	  This option enables support for ModemManager
48
49config BR2_PACKAGE_NETWORK_MANAGER_PPPD
50	bool "pppd support"
51	select BR2_PACKAGE_PPPD
52	help
53	  This option enables support for PPPD daemon
54
55config BR2_PACKAGE_NETWORK_MANAGER_OVS
56	bool "OpenVSwitch support"
57	select BR2_PACKAGE_JANSSON
58	help
59	  This option enables support for OpenVSwitch
60endif
61
62comment "NetworkManager needs udev /dev management and a glibc toolchain w/ headers >= 4.6, dynamic library, wchar, threads, gcc >= 4.9"
63	depends on BR2_USE_MMU
64	depends on !BR2_PACKAGE_HAS_UDEV || \
65		!BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6 || \
66		!BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS || \
67		!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
68		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
69