summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Dawson <spdawson@gmail.com>2013-04-26 01:25:48 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-04-26 16:42:11 +0200
commit3f14d9baedaca2f55299b7b616b9939336196963 (patch)
treeae2c6d4a7c376ccdab7b1d2717da4e664c627f1e
parente08e72d7d1c9f1482217e07255f874187bb5dc63 (diff)
downloadbuildroot-novena-3f14d9baedaca2f55299b7b616b9939336196963.tar.gz
buildroot-novena-3f14d9baedaca2f55299b7b616b9939336196963.zip
neard: add support for tools
Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/neard/Config.in6
-rw-r--r--package/neard/neard.mk4
2 files changed, 10 insertions, 0 deletions
diff --git a/package/neard/Config.in b/package/neard/Config.in
index bcf617128..ec1fcb302 100644
--- a/package/neard/Config.in
+++ b/package/neard/Config.in
@@ -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
diff --git a/package/neard/neard.mk b/package/neard/neard.mk
index 056875c48..cc6aeacae 100644
--- a/package/neard/neard.mk
+++ b/package/neard/neard.mk
@@ -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))