1config BR2_PACKAGE_LIBYANG
2	bool "libyang"
3	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # __sync_*_4 intrinsics
4	depends on BR2_TOOLCHAIN_HAS_THREADS
5	depends on !BR2_STATIC_LIBS
6	select BR2_PACKAGE_PCRE2
7	help
8	  Libyang is YANG data modeling language parser and toolkit
9	  written (and providing API) in C.
10
11	  https://github.com/CESNET/libyang
12
13comment "libyang needs a toolchain w/ threads, dynamic library"
14	depends on BR2_TOOLCHAIN_HAS_SYNC_4
15	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
16