Parcourir la source

package/bluez5_utils: enable support for external ell

Bluez5' support for the mesh profile needs ell, the Embedded Linux
Library, at least version 0.28.

Although Bluez5 bundles an internal copy of ell version 0.28, we prefer
building with external libraries.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Jörg Krause il y a 5 ans
Parent
commit
5a29bf23ec
2 fichiers modifiés avec 4 ajouts et 3 suppressions
  1. 1 0
      package/bluez5_utils/Config.in
  2. 3 3
      package/bluez5_utils/bluez5_utils.mk

+ 1 - 0
package/bluez5_utils/Config.in

@@ -62,6 +62,7 @@ config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HEALTH
 
 
 config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MESH
 config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MESH
 	bool "build mesh profile"
 	bool "build mesh profile"
+	select BR2_PACKAGE_ELL
 	select BR2_PACKAGE_JSON_C
 	select BR2_PACKAGE_JSON_C
 	select BR2_PACKAGE_READLINE
 	select BR2_PACKAGE_READLINE
 	help
 	help

+ 3 - 3
package/bluez5_utils/bluez5_utils.mk

@@ -53,10 +53,10 @@ endif
 
 
 # enable mesh profile
 # enable mesh profile
 ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MESH),y)
 ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MESH),y)
-BLUEZ5_UTILS_CONF_OPTS += --enable-mesh
-BLUEZ5_UTILS_DEPENDENCIES += json-c readline
+BLUEZ5_UTILS_CONF_OPTS += --enable-external-ell --enable-mesh
+BLUEZ5_UTILS_DEPENDENCIES += ell json-c readline
 else
 else
-BLUEZ5_UTILS_CONF_OPTS += --disable-mesh
+BLUEZ5_UTILS_CONF_OPTS += --disable-external-ell --disable-mesh
 endif
 endif
 
 
 # enable midi profile
 # enable midi profile