config BR2_PACKAGE_IWD
	bool "iwd"
	depends on BR2_USE_MMU # dbus
	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # ell
	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12 # ell
	depends on BR2_USE_WCHAR # ell
	select BR2_PACKAGE_DBUS # runtime
	select BR2_PACKAGE_ELL
	select BR2_PACKAGE_OPENRESOLV if !BR2_PACKAGE_SYSTEMD_RESOLVED
	help
	  iNet Wireless daemon (iwd)

	  https://iwd.wiki.kernel.org/

comment "iwd needs a toolchain w/ threads, wchar, headers >= 4.12"
	depends on BR2_USE_MMU # dbus
	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # ell
	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \
		!BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
