From 3f14d9baedaca2f55299b7b616b9939336196963 Mon Sep 17 00:00:00 2001 From: Simon Dawson Date: Fri, 26 Apr 2013 01:25:48 +0000 Subject: [PATCH] neard: add support for tools Signed-off-by: Simon Dawson Signed-off-by: Peter Korsgaard --- package/neard/Config.in | 6 ++++++ package/neard/neard.mk | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/package/neard/Config.in b/package/neard/Config.in index bcf6171280..ec1fcb3023 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 056875c48e..cc6aeacae0 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)) -- 2.30.2