Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
https://01.org/linux-nfc/documentation/how-start-linux-nfc-code...
+config BR2_PACKAGE_NEARD_TOOLS
+ bool "neard tools"
+ depends on BR2_PACKAGE_NEARD
+ help
+ Build and install neard tools.
+
comment "neard requires a toolchain with WCHAR and threads support"
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
NEARD_DEPENDENCIES = host-pkgconf dbus libglib2 libnl
NEARD_CONF_OPT = --disable-traces
+ifeq ($(BR2_PACKAGE_NEARD_TOOLS),y)
+ NEARD_CONF_OPT += --enable-tools
+endif
+
$(eval $(autotools-package))