From: Simon Dawson Date: Fri, 26 Apr 2013 01:25:48 +0000 (+0000) Subject: neard: add support for tools X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3f14d9baedaca2f55299b7b616b9939336196963;p=buildroot.git neard: add support for tools Signed-off-by: Simon Dawson Signed-off-by: Peter Korsgaard --- 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))