diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2016-11-11 16:10:10 +0200 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2016-11-17 14:15:42 +0200 |
commit | 00af15150ecdbccc0255efc388b5e242aae14473 (patch) | |
tree | 73d08b7eeb0a1d611a3fbfed3e9b3ed7dc57b56e | |
parent | 523b6fb52f247d491b51d4d8a0a3d30b0090d59b (diff) | |
download | bluez-00af15150ecdbccc0255efc388b5e242aae14473.tar.gz |
build: Add option to enable health profiles
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.
-rw-r--r-- | Makefile.plugins | 2 | ||||
-rw-r--r-- | README | 10 | ||||
-rw-r--r-- | configure.ac | 4 |
3 files changed, 15 insertions, 1 deletions
diff --git a/Makefile.plugins b/Makefile.plugins index ba5851868..59342c0cb 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 \ @@ -186,6 +186,16 @@ For a working system, certain configuration options need to be enabled: The plugin is built into bluetoothd therefore it does not need to be package separately. + --enable-health + + This option enable health profiles. + + By default health plugin is disabled since its profiles are + target for the health industry. + + The plugin is built into bluetoothd therefore it does not need + to be package separately. + Information =========== diff --git a/configure.ac b/configure.ac index 3c2dc4dd8..24d7589ce 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") |