[Buildroot] [PATCH 4/4] package/freeswitch: Use mod_g729 only when freeswitch_mod_bcg729 is disabled
Bernd Kuhls
bernd.kuhls at t-online.de
Sun Apr 30 20:17:37 UTC 2017
mod_g729 contained in freeswitch source provides pass-through:
https://freeswitch.org/confluence/display/FREESWITCH/mod_g729
Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
---
package/freeswitch/freeswitch.mk | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 215d0b974..3465b19be 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,10 @@ FREESWITCH_DEPENDENCIES += alsa-lib
FREESWITCH_ENABLED_MODULES += endpoints/mod_alsa
endif
+ifeq ($(BR2_PACKAGE_FREESWITCH_MOD_BCG729),)
+FREESWITCH_ENABLED_MODULES += codecs/mod_g729
+endif
+
ifeq ($(BR2_PACKAGE_FREETYPE),y)
FREESWITCH_DEPENDENCIES += freetype
endif
--
2.11.0
More information about the buildroot
mailing list