summaryrefslogtreecommitdiffstats
path: root/package/asterisk
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2017-09-09 23:39:29 +0200
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2017-09-23 19:20:18 +0200
commite1fba2c4adc6ff8aaa8a66140bb5260b82828db8 (patch)
treea0868245fc64a4bd2e8ba7fe5b8fc81d39e88df1 /package/asterisk
parent164df08b75537f9ea62cfdc54dfd245dadf02fd9 (diff)
downloadbuildroot-e1fba2c4adc6ff8aaa8a66140bb5260b82828db8.tar.gz
buildroot-e1fba2c4adc6ff8aaa8a66140bb5260b82828db8.zip
package/asterisk: add support for dahdi
DAHDI is the 'framework' to drive actual telehony cards. Using telephony cards without signalling is pretty much meaningless, so signalling will be added in later commits. libtonezone is provided by dhadi-tools, while the dahdi headers are provided by dahdi-linux. Go figure. 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.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/package/asterisk/asterisk.mk b/package/asterisk/asterisk.mk
index e674565db1..55370c43b8 100644
--- a/package/asterisk/asterisk.mk
+++ b/package/asterisk/asterisk.mk
@@ -52,7 +52,6 @@ ASTERISK_CONF_OPTS = \
--without-cap \
--without-cpg \
--without-curses \
- --without-dahdi \
--without-gtk2 \
--without-gmime \
--without-h323 \
@@ -95,7 +94,6 @@ ASTERISK_CONF_OPTS = \
--without-termcap \
--without-timerfd \
--without-tinfo \
- --without-tonezone \
--without-unbound \
--without-unixodbc \
--without-vpb \
@@ -196,6 +194,13 @@ else
ASTERISK_CONF_OPTS += --without-radius
endif
+ifeq ($(BR2_PACKAGE_DAHDI_LINUX)$(BR2_PACKAGE_DAHDI_TOOLS),yy)
+ASTERISK_DEPENDENCIES += dahdi-linux dahdi-tools
+ASTERISK_CONF_OPTS += --with-dahdi --with-tonezone
+else
+ASTERISK_CONF_OPTS += --without-dahdi --without-tonezone
+endif # DAHDI
+
ifeq ($(BR2_PACKAGE_OPENSSL),y)
ASTERISK_DEPENDENCIES += openssl
ASTERISK_CONF_OPTS += --with-ssl
OpenPOWER on IntegriCloud