summaryrefslogtreecommitdiffstats
path: root/package/freeswitch/freeswitch.mk
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2017-10-06 22:28:29 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-10-08 23:15:38 +0200
commit8f46658d0457fd6e0b1dd7cebd82ccba57c05862 (patch)
treee5aec2b018171ed2d619d1b6a810d8163be1eaca /package/freeswitch/freeswitch.mk
parentc81810de50e19de77cf79b4eb0dc2808751bc389 (diff)
downloadbuildroot-8f46658d0457fd6e0b1dd7cebd82ccba57c05862.tar.gz
buildroot-8f46658d0457fd6e0b1dd7cebd82ccba57c05862.zip
package/freeswitch: Use mod_g729 only when freeswitch-mod-bcg729 is disabled
mod_g729 contained in freeswitch source provides pass-through: https://freeswitch.org/confluence/display/FREESWITCH/mod_g729 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/freeswitch.mk')
-rw-r--r--package/freeswitch/freeswitch.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index ce22ffc28f..defa00f47a 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -116,7 +116,6 @@ FREESWITCH_ENABLED_MODULES += \
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 \
@@ -175,6 +174,12 @@ FREESWITCH_DEPENDENCIES += alsa-lib
FREESWITCH_ENABLED_MODULES += endpoints/mod_alsa
endif
+# Use the pass-through g729 module provided by freeswitch instead of
+# the external mod_bcg729 provided by freeswitch-mod-bcg729.
+ifeq ($(BR2_PACKAGE_FREESWITCH_MOD_BCG729),)
+FREESWITCH_ENABLED_MODULES += codecs/mod_g729
+endif
+
ifeq ($(BR2_PACKAGE_FREETYPE),y)
FREESWITCH_DEPENDENCIES += freetype
endif
OpenPOWER on IntegriCloud