From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Luiz Augusto von Dentz To: linux-bluetooth@vger.kernel.org Subject: [PATCH BlueZ 08/10] build: Add option to enable health profiles Date: Fri, 11 Nov 2016 19:22:42 +0200 Message-Id: <1478884964-7543-9-git-send-email-luiz.dentz@gmail.com> In-Reply-To: <1478884964-7543-1-git-send-email-luiz.dentz@gmail.com> References: <1478884964-7543-1-git-send-email-luiz.dentz@gmail.com> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: From: Luiz Augusto von Dentz This adds--enable-health option dedicated to enabled health plugin so it is no longer enabled with --enable-experimental since that enables other plugins that might not be relevant for the system. --- Makefile.plugins | 2 +- configure.ac | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile.plugins b/Makefile.plugins index ba58518..59342c0 100644 --- a/Makefile.plugins +++ b/Makefile.plugins @@ -76,7 +76,7 @@ builtin_sources += profiles/input/hog.c profiles/input/uhid_copy.h \ EXTRA_DIST += profiles/input/suspend-dummy.c endif -if EXPERIMENTAL +if HEALTH builtin_modules += health builtin_sources += profiles/health/mcap.h profiles/health/mcap.c \ profiles/health/hdp_main.c profiles/health/hdp_types.h \ diff --git a/configure.ac b/configure.ac index 3c2dc4d..24d7589 100644 --- a/configure.ac +++ b/configure.ac @@ -168,6 +168,10 @@ AC_ARG_ENABLE(test, AC_HELP_STRING([--disable-hog], [disable HoG profile]), [enable_hog=${enableval}]) AM_CONDITIONAL(HOG, test "${enable_hog}" != "no") +AC_ARG_ENABLE(test, AC_HELP_STRING([--enable-health], + [enable health profiles]), [enable_health=${enableval}]) +AM_CONDITIONAL(HEALTH, test "${enable_health}" = "yes") + AC_ARG_ENABLE(tools, AC_HELP_STRING([--disable-tools], [disable Bluetooth tools]), [enable_tools=${enableval}]) AM_CONDITIONAL(TOOLS, test "${enable_tools}" != "no") -- 2.7.4