config BR2_PACKAGE_LIBUCI
	bool "libuci"
	depends on !BR2_STATIC_LIBS
	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libubox -> json-c
	select BR2_PACKAGE_LIBUBOX
	help
	  This library originates from the OpenWrt project to
	  handle the configuration file infrastructure, but can
	  also be used for the same purposes in projects other
	  than OpenWrt.

	  This package will also install CLI tool uci.

	  https://openwrt.org/docs/techref/uci

comment "libuci needs a toolchain w/ dynamic library"
	depends on BR2_STATIC_LIBS
	depends on BR2_TOOLCHAIN_HAS_SYNC_4
