1config BR2_PACKAGE_BASU
2	bool "basu"
3	depends on BR2_USE_MMU # dbus
4	depends on BR2_USE_WCHAR # uchar.h
5	depends on BR2_ENABLE_LOCALE # locale_t
6	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # __sync_add_and_fetch
7	depends on BR2_TOOLCHAIN_HAS_THREADS
8	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # F_ADD_SEALS
9	select BR2_PACKAGE_DBUS if !BR2_PACKAGE_DBUS_BROKER # runtime
10	help
11	  basu is the sd-bus library, extracted from systemd.
12
13	  Some projects rely on the sd-bus library for DBus support.
14	  However not all systems have systemd or elogind installed.
15	  This library provides just sd-bus (and the busctl utility).
16
17	  https://git.sr.ht/~emersion/basu
18
19comment "basu needs a toolchain w/ wchar, locale, threads, headers >= 3.17"
20	depends on BR2_USE_MMU
21	depends on BR2_TOOLCHAIN_HAS_SYNC_4
22	depends on !BR2_USE_WCHAR || !BR2_ENABLE_LOCALE || \
23		!BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
24