From patchwork Mon Mar 16 16:40:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=C3=B6rg_Krause?= X-Patchwork-Id: 1255605 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=embedded.rocks Authentication-Results: ozlabs.org; dkim=fail reason="key not found in DNS" header.d=embedded.rocks header.i=@embedded.rocks header.a=rsa-sha256 header.s=default header.b=SwMpAU1m; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48h29d6t5fz9sPJ for ; Tue, 17 Mar 2020 03:40:53 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 7ABF7886F7; Mon, 16 Mar 2020 16:40:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vKuOmw-MIxvf; Mon, 16 Mar 2020 16:40:43 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 3356F886AA; Mon, 16 Mar 2020 16:40:43 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 2265D1BF38A for ; Mon, 16 Mar 2020 16:40:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 1AC3086AE6 for ; Mon, 16 Mar 2020 16:40:36 +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 ZZNU7h2bHi11 for ; Mon, 16 Mar 2020 16:40:35 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.141]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 40E3886AE3 for ; Mon, 16 Mar 2020 16:40:35 +0000 (UTC) Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 97561160060 for ; Mon, 16 Mar 2020 17:40:32 +0100 (CET) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 48h29D0186z6tm7 for ; Mon, 16 Mar 2020 17:40:31 +0100 (CET) Authentication-Results: mail.embedded.rocks (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=embedded.rocks DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embedded.rocks; h=content-transfer-encoding:content-type:content-type :mime-version:references:in-reply-to:x-mailer:message-id:date :date:subject:subject:from:from:received:received; s=default; t= 1584376830; x=1584981631; bh=Y/NiNv6dn3kQvbNEFpjSM0L/1yudC88/FR8 FgiusnSQ=; b=SwMpAU1mVVMa36dFo+74MmQlzQdBT5LELnkoM5aItSr1qX1dGCx 27F4GdMh/o6lLCU/ggczK72o6/gKvOyIHHdWoHdjxNDTbr6KmBZubAO0r/Tjjax+ a0h2H8t0IRBt8+7u2MRQdr6YpY5/swMMjwEWSU0VKru+PHIAy1SVUMdN6JuxZ8Bf hpUqbw7mQDkKYU2biWD7N2fSIYGlRX5ujRHbLopwIiJ2XSRv72Z7Q0et2iNu8AVE CQ11ZIxht7vWBXUpfg678s/QKvIscrDwgA8Ipa69tZOdON/FYEpLwiX7BHuS3BwI OFFgg6nQcoLYYsSWCQIpzaDf964EfT5RqMA== Received: from mail.embedded.rocks ([127.0.0.1]) by localhost (mail.embedded.rocks [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id YvqvUgfE7l3X; Mon, 16 Mar 2020 17:40:30 +0100 (CET) Received: from nzxt.fritz.box (port-92-193-149-223.dynamic.as20676.net [92.193.149.223]) (Authenticated sender: joerg.krause@embedded.rocks) by mail.embedded.rocks (Postfix) with ESMTPSA; Mon, 16 Mar 2020 17:40:30 +0100 (CET) From: =?utf-8?q?J=C3=B6rg_Krause?= To: buildroot@buildroot.org Date: Mon, 16 Mar 2020 17:40:24 +0100 Message-Id: <20200316164024.540598-4-joerg.krause@embedded.rocks> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200316164024.540598-1-joerg.krause@embedded.rocks> References: <20200316164024.540598-1-joerg.krause@embedded.rocks> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 4/4] package/bluez5_utils: enable support for external ell 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: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Bluez' support for the mesh profile needs ell, the Embedded Linux Library, at least version 0.28. Although Bluez bundles an internal copy of ell version 0.28, we prefer building with external libraries. Signed-off-by: Jörg Krause --- package/bluez5_utils/Config.in | 1 + package/bluez5_utils/bluez5_utils.mk | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package/bluez5_utils/Config.in b/package/bluez5_utils/Config.in index 038c6e7095..1e9eda31dc 100644 --- a/package/bluez5_utils/Config.in +++ b/package/bluez5_utils/Config.in @@ -62,6 +62,7 @@ config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HEALTH config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MESH bool "build mesh profile" + select BR2_PACKAGE_ELL select BR2_PACKAGE_JSON_C select BR2_PACKAGE_READLINE help diff --git a/package/bluez5_utils/bluez5_utils.mk b/package/bluez5_utils/bluez5_utils.mk index 2d95899f44..2149614c56 100644 --- a/package/bluez5_utils/bluez5_utils.mk +++ b/package/bluez5_utils/bluez5_utils.mk @@ -53,10 +53,10 @@ endif # enable mesh profile ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MESH),y) -BLUEZ5_UTILS_CONF_OPTS += --enable-mesh -BLUEZ5_UTILS_DEPENDENCIES += json-c readline +BLUEZ5_UTILS_CONF_OPTS += --enable-external-ell --enable-mesh +BLUEZ5_UTILS_DEPENDENCIES += ell json-c readline else -BLUEZ5_UTILS_CONF_OPTS += --disable-mesh +BLUEZ5_UTILS_CONF_OPTS += --disable-external-ell --disable-mesh endif # enable midi profile