neard: add support for tools

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Simon Dawson 2013-04-26 01:25:48 +00:00 committed by Peter Korsgaard
parent e08e72d7d1
commit 3f14d9baed
2 changed files with 10 additions and 0 deletions

View File

@ -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

View File

@ -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))