diff options
-rw-r--r-- | package/neard/Config.in | 6 | ||||
-rw-r--r-- | package/neard/neard.mk | 4 |
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)) |