config BR2_PACKAGE_SDBUSPLUS
	bool "sdbusplus"
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_PACKAGE_SYSTEMD
	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
	help
	  A C++ library for sd-bus with a bindings and doc generator.

	  This will build the target library.  See the host package for
	  the bindings and documentation generation program.

	  https://github.com/openbmc/sdbusplus

comment "sdbusplus needs systemd and a toolchain w/ C++, gcc >= 7"
	depends on !BR2_PACKAGE_SYSTEMD || !BR2_INSTALL_LIBSTDCPP || \
		!BR2_TOOLCHAIN_GCC_AT_LEAST_7
