summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2017-09-09 23:39:16 +0200
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2017-09-23 19:20:18 +0200
commit94ae9f15006714ff6bb181063e428988b1d7c3d6 (patch)
treec24668870eb67123f60b74862c7a05125b033a3f
parent637800de21706bd98e39fed162281763efddbba6 (diff)
downloadbuildroot-94ae9f15006714ff6bb181063e428988b1d7c3d6.tar.gz
buildroot-94ae9f15006714ff6bb181063e428988b1d7c3d6.zip
package/asterisk: add optional bluez_utils dependency
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
-rw-r--r--package/asterisk/asterisk.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/package/asterisk/asterisk.mk b/package/asterisk/asterisk.mk
index bf706f787d..74e45e241c 100644
--- a/package/asterisk/asterisk.mk
+++ b/package/asterisk/asterisk.mk
@@ -49,7 +49,6 @@ ASTERISK_CONF_OPTS = \
--disable-asteriskssl \
--disable-rpath \
--without-bfd \
- --without-bluetooth \
--without-cap \
--without-cpg \
--without-curses \
@@ -148,6 +147,13 @@ else
ASTERISK_CONF_OPTS += --without-asound
endif
+ifeq ($(BR2_PACKAGE_BLUEZ_UTILS),y)
+ASTERISK_DEPENDENCIES += bluez_utils
+ASTERISK_CONF_OPTS += --with-bluetooth
+else
+ASTERISK_CONF_OPTS += --without-bluetooth
+endif
+
ifeq ($(BR2_PACKAGE_NEON),y)
ASTERISK_DEPENDENCIES += neon
ASTERISK_CONF_OPTS += --with-neon
OpenPOWER on IntegriCloud