package/asterisk: add support for SS7

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Yann E. MORIN 2017-09-09 23:39:31 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 7c3b714f35
commit 66e632f77c

View File

@ -87,7 +87,6 @@ ASTERISK_CONF_OPTS = \
--without-sdl \
--without-SDL_image \
--without-spandsp \
--without-ss7 \
--without-sqlite \
--without-suppserv \
--without-tds \
@ -197,8 +196,16 @@ endif
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_LIBSS7),y)
ASTERISK_DEPENDENCIES += libss7
ASTERISK_CONF_OPTS += --with-ss7
else
ASTERISK_CONF_OPTS += --without-dahdi --without-tonezone
ASTERISK_CONF_OPTS += --without-ss7
endif # SS7
else
ASTERISK_CONF_OPTS += --without-dahdi --without-tonezone --without-ss7
endif # DAHDI
ifeq ($(BR2_PACKAGE_OPENSSL),y)