summaryrefslogtreecommitdiffstats
path: root/package/asterisk
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2017-09-09 23:39:33 +0200
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2017-09-23 19:20:18 +0200
commitbef84afa8d61c103a2297824b1f92757b57590eb (patch)
treee2007be0bf688b8aa3dc3822eb94bda8e67fd52e /package/asterisk
parenta77f356b78f9134227f9702a1eb09c3203c42d88 (diff)
downloadbuildroot-bef84afa8d61c103a2297824b1f92757b57590eb.tar.gz
buildroot-bef84afa8d61c103a2297824b1f92757b57590eb.zip
package/asterisk: add support for PRI signalling
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'package/asterisk')
-rw-r--r--package/asterisk/asterisk.mk12
1 files changed, 10 insertions, 2 deletions
diff --git a/package/asterisk/asterisk.mk b/package/asterisk/asterisk.mk
index 20ae502da2..02d0f2947d 100644
--- a/package/asterisk/asterisk.mk
+++ b/package/asterisk/asterisk.mk
@@ -81,7 +81,6 @@ ASTERISK_CONF_OPTS = \
--without-postgres \
--without-pjproject \
--without-popt \
- --without-pri \
--without-pwlib \
--without-resample \
--without-sdl \
@@ -197,6 +196,13 @@ ifeq ($(BR2_PACKAGE_DAHDI_LINUX)$(BR2_PACKAGE_DAHDI_TOOLS),yy)
ASTERISK_DEPENDENCIES += dahdi-linux dahdi-tools
ASTERISK_CONF_OPTS += --with-dahdi --with-tonezone
+ifeq ($(BR2_PACKAGE_LIBPRI),y)
+ASTERISK_DEPENDENCIES += libpri
+ASTERISK_CONF_OPTS += --with-pri
+else
+ASTERISK_CONF_OPTS += --without-pri
+endif # PRI
+
ifeq ($(BR2_PACKAGE_LIBSS7),y)
ASTERISK_DEPENDENCIES += libss7
ASTERISK_CONF_OPTS += --with-ss7
@@ -205,7 +211,9 @@ ASTERISK_CONF_OPTS += --without-ss7
endif # SS7
else
-ASTERISK_CONF_OPTS += --without-dahdi --without-tonezone --without-ss7
+ASTERISK_CONF_OPTS += \
+ --without-dahdi --without-tonezone \
+ --without-pri --without-ss7
endif # DAHDI
ifeq ($(BR2_PACKAGE_OPENSSL),y)
OpenPOWER on IntegriCloud