From patchwork Sun Oct 14 09:02:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 983677 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=t-online.de Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42XwZK1hq2z9s3T for ; Sun, 14 Oct 2018 20:02:33 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id A60D087D50; Sun, 14 Oct 2018 09:02:28 +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 elJY8H8uxsWn; Sun, 14 Oct 2018 09:02:27 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 027F187FAA; Sun, 14 Oct 2018 09:02:27 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 6B7ED1BF41B for ; Sun, 14 Oct 2018 09:02:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 62F1822C51 for ; Sun, 14 Oct 2018 09:02:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eIJ0uaMnafYf for ; Sun, 14 Oct 2018 09:02:20 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout10.t-online.de (mailout10.t-online.de [194.25.134.21]) by silver.osuosl.org (Postfix) with ESMTPS id 83BA1229D7 for ; Sun, 14 Oct 2018 09:02:20 +0000 (UTC) Received: from fwd08.aul.t-online.de (fwd08.aul.t-online.de [172.20.26.151]) by mailout10.t-online.de (Postfix) with SMTP id A072241F0EE5; Sun, 14 Oct 2018 11:02:18 +0200 (CEST) Received: from fli4l.lan.fli4l (SmABcmZVQhEAZmFezCbUcvyzcNLdpSabQ39JNJs+s5wMKXlFK9m-C0jfLagLeoqwJg@[91.58.10.166]) by fwd08.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1gBcHq-1fj0nQ0; Sun, 14 Oct 2018 11:02:10 +0200 Received: from mahler.lan.fli4l ([192.168.1.1]:51892 helo=kuhls.lan.fli4l) by fli4l.lan.fli4l with esmtp (Exim 4.91) (envelope-from ) id 1gBcHp-00011n-HF; Sun, 14 Oct 2018 11:02:09 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sun, 14 Oct 2018 11:02:00 +0200 Message-Id: <20181014090202.31122-8-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181014090202.31122-1-bernd.kuhls@t-online.de> References: <20181014090202.31122-1-bernd.kuhls@t-online.de> MIME-Version: 1.0 X-ID: SmABcmZVQhEAZmFezCbUcvyzcNLdpSabQ39JNJs+s5wMKXlFK9m-C0jfLagLeoqwJg X-TOI-MSGID: 59413114-8419-4ed5-99c6-1af9ec0354c4 Subject: [Buildroot] [PATCH v3 8/9] package/libpjsip: add optional dependency to libgsm X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Luca Ceresoli , "Yann E . MORIN" Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Bernd Kuhls --- v3: initial revision package/libpjsip/libpjsip.mk | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/package/libpjsip/libpjsip.mk b/package/libpjsip/libpjsip.mk index 46f07a4f6b..5f5f1f5081 100644 --- a/package/libpjsip/libpjsip.mk +++ b/package/libpjsip/libpjsip.mk @@ -39,7 +39,6 @@ LIBPJSIP_CONF_ENV = \ LIBPJSIP_CONF_OPTS = \ --disable-sound \ - --disable-gsm-codec \ --disable-resample \ --disable-video \ --disable-opencore-amr \ @@ -67,6 +66,16 @@ LIBPJSIP_CONF_OPTS = \ # so we want to use it. LIBPJSIP_CONF_OPTS += --enable-epoll +ifeq ($(BR2_PACKAGE_LIBGSM),y) +LIBPJSIP_CONF_OPTS += \ + --enable-gsm-codec \ + --with-external-gsm +LIBPJSIP_DEPENDENCIES += libgsm +else +LIBPJSIP_CONF_OPTS += \ + --disable-gsm-codec +endif + ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) LIBPJSIP_DEPENDENCIES += libopenssl LIBPJSIP_CONF_OPTS += --with-ssl=$(STAGING_DIR)/usr