package/bluez5_utils: add mesh support
authorJörg Krause <joerg.krause@embedded.rocks>
Mon, 16 Mar 2020 16:52:51 +0000 (17:52 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 21 Mar 2020 16:01:17 +0000 (17:01 +0100)
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>
package/bluez5_utils/Config.in
package/bluez5_utils/bluez5_utils.mk

index 488a2f79c809acae0a1229a2cac64e7429ff2013..038c6e7095a19055d25c119cb7057b6d0f706b81 100644 (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
index e328f52eafd34ce77d6ff53f56164f5ef08ad1cd..2d95899f44d1032251d101813b99beb06bbae3cc 100644 (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