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