package/bluez5_utils: add mesh support

Mesh support was already added in version 5.47.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Jörg Krause 2020-03-16 17:52:51 +01:00 committed by Thomas Petazzoni
parent 3a678c952f
commit a927d233e8
2 changed files with 15 additions and 0 deletions

View File

@ -60,6 +60,13 @@ config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HEALTH
help
Build BlueZ 5.x health plugin
config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MESH
bool "build mesh profile"
select BR2_PACKAGE_JSON_C
select BR2_PACKAGE_READLINE
help
Build BlueZ 5.x mesh plugin
config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MIDI
bool "build midi profile"
select BR2_PACKAGE_ALSA_LIB

View File

@ -51,6 +51,14 @@ else
BLUEZ5_UTILS_CONF_OPTS += --disable-health
endif
# enable mesh profile
ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MESH),y)
BLUEZ5_UTILS_CONF_OPTS += --enable-mesh
BLUEZ5_UTILS_DEPENDENCIES += json-c readline
else
BLUEZ5_UTILS_CONF_OPTS += --disable-mesh
endif
# enable midi profile
ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MIDI),y)
BLUEZ5_UTILS_CONF_OPTS += --enable-midi