config BR2_PACKAGE_NEARDAL
	bool "neardal"
	depends on BR2_USE_WCHAR # glib2
	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, glib2
	depends on BR2_USE_MMU # dbus
	select BR2_PACKAGE_DBUS
	select BR2_PACKAGE_DBUS_GLIB
	help
	  Provides a simple C API to exchange data with the neard NFC
	  manager daemon.

	  https://github.com/connectivity/neardal

if BR2_PACKAGE_NEARDAL

config BR2_PACKAGE_NEARDAL_NCL
	bool "ncl tool"
	help
	  Build and install neardal ncl command line interpreter tool.

endif

comment "neardal needs a toolchain w/ wchar, threads"
	depends on BR2_USE_MMU
	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS