1comment "netopeer2 needs a toolchain w/ gcc >= 4.8, C++, threads, dynamic library"
2	depends on BR2_USE_MMU
3	depends on BR2_TOOLCHAIN_HAS_SYNC_4
4	depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP \
5		|| !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
6
7config BR2_PACKAGE_NETOPEER2
8	bool "netopeer2"
9	depends on BR2_USE_MMU # libnetconf2, libssh, sysrepo
10	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libyang
11	depends on !BR2_STATIC_LIBS # libnetconf2, libssh, libyang, sysrepo
12	depends on BR2_INSTALL_LIBSTDCPP # sysrepo
13	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
14	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # sysrepo
15	select BR2_PACKAGE_LIBNETCONF2
16	select BR2_PACKAGE_LIBSSH
17	select BR2_PACKAGE_LIBSSH_SERVER # For libnetconf2 to have SSH
18	select BR2_PACKAGE_LIBYANG
19	select BR2_PACKAGE_OPENSSL # For libnetconf2 to have TLS
20	select BR2_PACKAGE_SYSREPO
21	help
22	  Netopeer2 is a set of tools implementing network configuration
23	  tools based on the NETCONF Protocol.
24
25	  This is the server part.
26
27	  https://github.com/CESNET/Netopeer2
28
29if BR2_PACKAGE_NETOPEER2
30
31config BR2_PACKAGE_NETOPEER2_CLI
32	bool "cli"
33	help
34	  Enable netopeer2 CLI.
35
36endif
37