xref: /OK3568_Linux_fs/buildroot/package/connman/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_CONNMAN
2	bool "connman"
3	depends on BR2_USE_WCHAR # libglib2
4	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
5	depends on BR2_USE_MMU # dbus, libglib2
6	depends on !BR2_STATIC_LIBS # needs dlopen()
7	depends on BR2_TOOLCHAIN_HAS_SYNC_4
8	depends on !BR2_TOOLCHAIN_USES_MUSL # missing res_ninit()
9	select BR2_PACKAGE_DBUS
10	select BR2_PACKAGE_LIBGLIB2
11	help
12	  The Connection Manager (ConnMan) project provides a daemon
13	  for managing internet connections within embedded devices
14	  running the Linux operating system.
15
16	  https://01.org/connman
17
18if BR2_PACKAGE_CONNMAN
19
20choice
21	prompt "Firewall type"
22	default BR2_PACKAGE_CONNMAN_IPTABLES
23	help
24	  Select which firewall type is used.
25
26config BR2_PACKAGE_CONNMAN_IPTABLES
27	bool "iptables"
28	select BR2_PACKAGE_IPTABLES
29	help
30	  Use iptables as firewall.
31
32config BR2_PACKAGE_CONNMAN_NFTABLES
33	bool "nftables"
34	depends on BR2_USE_WCHAR
35	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
36	select BR2_PACKAGE_LIBMNL
37	select BR2_PACKAGE_NFTABLES
38	help
39	  Use nftables as firewall.
40endchoice
41
42config BR2_PACKAGE_CONNMAN_ETHERNET
43	bool "enable Ethernet support"
44	default y
45
46config BR2_PACKAGE_CONNMAN_WIFI
47	bool "enable WiFi support"
48	select BR2_PACKAGE_WPA_SUPPLICANT # runtime
49	select BR2_PACKAGE_WPA_SUPPLICANT_DBUS # runtime
50	help
51	  Enable WiFi support (scan and static/dhcp interface
52	  setup). ConnMan detects the start of wpa_supplicant
53	  automatically.
54
55config BR2_PACKAGE_CONNMAN_WIREGUARD
56	bool "enable wireguard support"
57	select BR2_PACKAGE_LIBMNL
58
59config BR2_PACKAGE_CONNMAN_WISPR
60	bool "enable WISPr support"
61	depends on !BR2_STATIC_LIBS # gnutls
62	select BR2_PACKAGE_GNUTLS
63	help
64	  Enable support for Wireless Internet Service Provider
65	  roaming (WISPr). A RADIUS server is used to authenticate the
66	  subscriber's credentials.
67
68comment "connman WISPr needs a toolchain w/ dynamic library"
69	depends on BR2_STATIC_LIBS
70
71config BR2_PACKAGE_CONNMAN_BLUETOOTH
72	bool "enable Bluetooth support"
73	help
74	  Enable Bluetooth support. The start of bluetoothd is
75	  automatically detected and only a runtime dependency.
76
77config BR2_PACKAGE_CONNMAN_LOOPBACK
78	bool "enable loopback support"
79
80config BR2_PACKAGE_CONNMAN_NEARD
81	bool "enable neard support"
82	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # neard
83	select BR2_PACKAGE_NEARD
84
85config BR2_PACKAGE_CONNMAN_OFONO
86	bool "enable ofono support"
87	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # ofono
88	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12 # ofono
89	select BR2_PACKAGE_OFONO
90
91comment "ofono support needs a toolchain w/ headers >= 4.12"
92	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
93
94config BR2_PACKAGE_CONNMAN_DEBUG
95	bool "enable compiling with debugging information"
96
97config BR2_PACKAGE_CONNMAN_CLIENT
98	bool "enable command line client"
99	select BR2_PACKAGE_READLINE
100
101endif # BR2_PACKAGE_CONNMAN
102
103comment "connman needs a glibc or uClibc toolchain w/ wchar, threads, resolver, dynamic library"
104	depends on BR2_USE_MMU
105	depends on BR2_TOOLCHAIN_HAS_SYNC_4
106	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \
107		|| BR2_TOOLCHAIN_USES_MUSL
108