xref: /OK3568_Linux_fs/buildroot/package/ubus/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1comment "ubus needs a toolchain w/ dynamic library"
2	depends on BR2_TOOLCHAIN_HAS_SYNC_4
3	depends on BR2_STATIC_LIBS
4
5config BR2_PACKAGE_UBUS
6	bool "ubus"
7	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c
8	depends on !BR2_STATIC_LIBS # libubox
9	select BR2_PACKAGE_LIBUBOX
10	select BR2_PACKAGE_JSON_C
11	help
12	  IPC/RPC bus that allows communication between processes.
13
14	  It consists of few parts including a daemon (ubusd), a
15	  library (libubus) and a command line interface
16	  (ubus). Although created for the OpenWRT project, it can be
17	  used as a general IPC/RPC mechanism in other projects.
18
19	  * Select BR2_PACKAGE_LUA_5_1 if you want to have Lua
20	    support.
21
22	  https://openwrt.org/docs/techref/ubus
23
24if BR2_PACKAGE_UBUS
25
26config BR2_PACKAGE_UBUS_EXAMPLES
27	bool "build and install ubus examples"
28	help
29	  Build and install client and server ubus examples.
30
31endif
32