1config BR2_PACKAGE_LIBNETCONF2
2	bool "libnetconf2"
3	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libyang
4	depends on BR2_TOOLCHAIN_HAS_THREADS
5	depends on !BR2_STATIC_LIBS
6	depends on BR2_USE_MMU
7	select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
8	select BR2_PACKAGE_LIBYANG
9	help
10	  libnetconf2 is a NETCONF library in C intended for building
11	  NETCONF clients and servers.
12
13	  https://github.com/CESNET/libnetconf2
14
15comment "libnetconf2 needs a toolchain w/ threads, dynamic libraray"
16	depends on BR2_USE_MMU
17	depends on BR2_TOOLCHAIN_HAS_SYNC_4
18	depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
19