Skip to contentSkip to conversation

neard: add support for tools

PATCH New spdawson at gmail.com 2 participants 2 messages Apr 26, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 neard: add support for tools

From: Simon Dawson <[email protected]>

---
 package/neard/Config.in |    6 ++++++
 package/neard/neard.mk  |    4 ++++
 2 files changed, 10 insertions(+)
package/neard/Config.in +6 -0
index bcf6171..ec1fcb3 100644
@@ -14,5 +14,11 @@ config BR2_PACKAGE_NEARD
 
 	  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
package/neard/neard.mk +4 -0
index 056875c..cc6aeac 100644
@@ -13,4 +13,8 @@ NEARD_AUTORECONF = YES
 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))
Signature · 1 line
1.7.10.4