From 94ae9f15006714ff6bb181063e428988b1d7c3d6 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sat, 9 Sep 2017 23:39:16 +0200 Subject: [PATCH] package/asterisk: add optional bluez_utils dependency Signed-off-by: "Yann E. MORIN" Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/asterisk/asterisk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- 2.30.2