From: Yann E. MORIN Date: Sat, 9 Sep 2017 21:39:16 +0000 (+0200) Subject: package/asterisk: add optional bluez_utils dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=94ae9f15006714ff6bb181063e428988b1d7c3d6;p=buildroot.git package/asterisk: add optional bluez_utils dependency Signed-off-by: "Yann E. MORIN" Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- 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