summaryrefslogtreecommitdiffstats
path: root/package/freeswitch
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2016-04-17 17:24:24 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-04-17 22:17:11 +0200
commitffd066017ae4229793b2e903d2b5fe2652fa9fae (patch)
treeed8ece5f45ecb46d1741651817464117b6a34372 /package/freeswitch
parent0480bbc1a0b5fb3e4b1cece1ef0896205b67c3c5 (diff)
downloadbuildroot-ffd066017ae4229793b2e903d2b5fe2652fa9fae.tar.gz
buildroot-ffd066017ae4229793b2e903d2b5fe2652fa9fae.zip
package/freeswitch: enable optional modules
All these modules have no external dependencies. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/freeswitch')
-rw-r--r--package/freeswitch/freeswitch.mk80
1 files changed, 73 insertions, 7 deletions
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index a184e60dfd..77037634af 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -37,13 +37,6 @@ FREESWITCH_DEPENDENCIES = \
util-linux \
zlib
-# freeswitch comes with pre-enabled modules, since we want to control
-# the modules ourselves reset the upstream configuration
-define FREESWITCH_RESET_MODULES
- > $(@D)/modules.conf
-endef
-FREESWITCH_PRE_CONFIGURE_HOOKS += FREESWITCH_RESET_MODULES
-
# we neither need host-perl nor host-php
FREESWITCH_CONF_ENV += \
ac_cv_prog_PERL=false \
@@ -94,4 +87,77 @@ else
FREESWITCH_CONF_OPTS += --disable-zrtp
endif
+# Enable optional modules
+FREESWITCH_ENABLED_MODULES += \
+ applications/mod_avmd \
+ applications/mod_blacklist \
+ applications/mod_callcenter \
+ applications/mod_commands \
+ applications/mod_conference \
+ applications/mod_curl \
+ applications/mod_db \
+ applications/mod_directory \
+ applications/mod_dptools \
+ applications/mod_easyroute \
+ applications/mod_esf \
+ applications/mod_esl \
+ applications/mod_expr \
+ applications/mod_fifo \
+ applications/mod_fsk \
+ applications/mod_hash \
+ applications/mod_httapi \
+ applications/mod_lcr \
+ applications/mod_sms \
+ applications/mod_snom \
+ applications/mod_spandsp \
+ applications/mod_spy \
+ applications/mod_valet_parking \
+ applications/mod_voicemail \
+ codecs/mod_g723_1 \
+ codecs/mod_g729 \
+ dialplans/mod_dialplan_asterisk \
+ dialplans/mod_dialplan_xml \
+ endpoints/mod_loopback \
+ endpoints/mod_rtc \
+ endpoints/mod_rtmp \
+ endpoints/mod_sofia \
+ endpoints/mod_verto \
+ event_handlers/mod_cdr_csv \
+ event_handlers/mod_cdr_sqlite \
+ event_handlers/mod_event_socket \
+ formats/mod_local_stream \
+ formats/mod_native_file \
+ formats/mod_tone_stream \
+ loggers/mod_console \
+ loggers/mod_logfile \
+ loggers/mod_syslog \
+ say/mod_say_de \
+ say/mod_say_en \
+ say/mod_say_es \
+ say/mod_say_es_ar \
+ say/mod_say_fa \
+ say/mod_say_fr \
+ say/mod_say_he \
+ say/mod_say_hr \
+ say/mod_say_hu \
+ say/mod_say_it \
+ say/mod_say_ja \
+ say/mod_say_nl \
+ say/mod_say_pl \
+ say/mod_say_pt \
+ say/mod_say_ru \
+ say/mod_say_sv \
+ say/mod_say_th \
+ say/mod_say_zh \
+ xml_int/mod_xml_cdr \
+ xml_int/mod_xml_rpc \
+ xml_int/mod_xml_scgi
+
+define FREESWITCH_ENABLE_MODULES
+ $(Q)echo $(FREESWITCH_ENABLED_MODULES) \
+ | tr ' ' '\n' \
+ > $(@D)/modules.conf
+endef
+FREESWITCH_PRE_CONFIGURE_HOOKS += FREESWITCH_ENABLE_MODULES
+
$(eval $(autotools-package))
OpenPOWER on IntegriCloud