From patchwork Thu Jan 14 21:39:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 567696 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 3D797140157 for ; Fri, 15 Jan 2016 08:40:25 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id B87B5A58ED; Thu, 14 Jan 2016 21:40:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1roEfXxsewzR; Thu, 14 Jan 2016 21:40:23 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7FA9EA58B7; Thu, 14 Jan 2016 21:40:22 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 9D2681C0BE0 for ; Thu, 14 Jan 2016 21:40:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 9656294259 for ; Thu, 14 Jan 2016 21:40:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8ZGYOhJwM++W for ; Thu, 14 Jan 2016 21:40:20 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout02.t-online.de (mailout02.t-online.de [194.25.134.17]) by hemlock.osuosl.org (Postfix) with ESMTPS id 0FF72930FF for ; Thu, 14 Jan 2016 21:40:19 +0000 (UTC) Received: from fwd37.aul.t-online.de (fwd37.aul.t-online.de [172.20.27.137]) by mailout02.t-online.de (Postfix) with SMTP id AFF142CFB6A for ; Thu, 14 Jan 2016 22:40:17 +0100 (CET) Received: from fli4l.lan.fli4l (bNDacsZawh2qwh7qTf18QxjGjvApDcksdtj6g2l5kqdToJv-L8w3bjmafdCAv1IQq1@[84.191.202.140]) by fwd37.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1aJpct-0H8o1g0; Thu, 14 Jan 2016 22:40:15 +0100 Received: from mahler.lan.fli4l ([192.168.1.1]:39870 helo=kuhls.lan.fli4l) by fli4l.lan.fli4l with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-SHA256:128) (Exim 4.86) (envelope-from ) id 1aJpcs-0002io-7o; Thu, 14 Jan 2016 22:40:14 +0100 From: Bernd Kuhls To: buildroot@buildroot.org Date: Thu, 14 Jan 2016 22:39:43 +0100 Message-Id: <1452807610-15534-3-git-send-email-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1452807610-15534-1-git-send-email-bernd.kuhls@t-online.de> References: <1452807610-15534-1-git-send-email-bernd.kuhls@t-online.de> X-ID: bNDacsZawh2qwh7qTf18QxjGjvApDcksdtj6g2l5kqdToJv-L8w3bjmafdCAv1IQq1 X-TOI-MSGID: 57ddb613-1e5e-4de3-aaab-72f6f841d627 Cc: Bernd Kuhls Subject: [Buildroot] [PATCH v6 02/29] package/freeswitch: enable optional modules X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" All these modules have no external dependencies. Signed-off-by: Bernd Kuhls --- package/freeswitch/freeswitch.mk | 56 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk index 8f8f8e6..9c64cf2 100644 --- a/package/freeswitch/freeswitch.mk +++ b/package/freeswitch/freeswitch.mk @@ -79,4 +79,60 @@ FREESWITCH_CONF_OPTS = \ --disable-system-xmlrpc-c \ --disable-zrtp +# Enable more 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 \ + dialplans/mod_dialplan_asterisk \ + dialplans/mod_dialplan_xml \ + endpoints/mod_rtmp \ + endpoints/mod_rtc \ + 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_en \ + xml_int/mod_xml_cdr \ + xml_int/mod_xml_scgi + +define FREESWITCH_ENABLE_MODULE # (option, file) + echo '$(1)' >> $(2) +endef + +define FREESWITCH_ENABLE_MODULES + $(foreach mod,$(FREESWITCH_ENABLED_MODULES),\ + $(call FREESWITCH_ENABLE_MODULE,$(mod),$(@D)/modules.conf)$(sep)) +endef + +FREESWITCH_PRE_CONFIGURE_HOOKS += FREESWITCH_ENABLE_MODULES + $(eval $(autotools-package))