From patchwork Mon Mar 16 16:52:51 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: 1255623 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.137; helo=fraxinus.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=ArJGk4xc; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48h2Rs4d7Fz9sPk for ; Tue, 17 Mar 2020 03:53:13 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id B57BE86F99; Mon, 16 Mar 2020 16:53:11 +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 SBZ6RLFxQVlg; Mon, 16 Mar 2020 16:53:11 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 1C1738706E; Mon, 16 Mar 2020 16:53:11 +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 E33471BF38A for ; Mon, 16 Mar 2020 16:53:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id E044C8706E for ; Mon, 16 Mar 2020 16:53:09 +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 R9Ryl0tRbC17 for ; Mon, 16 Mar 2020 16:53:09 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.142]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 0E0F486F99 for ; Mon, 16 Mar 2020 16:53:09 +0000 (UTC) Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id F3F7D24010A for ; Mon, 16 Mar 2020 17:53:06 +0100 (CET) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 48h2Rk3dgTz9rxZ for ; Mon, 16 Mar 2020 17:53:06 +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= 1584377585; x=1584982386; bh=cN+tG3YtFxcyfGyQMokshmSLX1uEqoTcUib mIKE4/MA=; b=ArJGk4xcJGtR5Gg03p4G0CRALiM7AfnPQGIuGsgVioJFNIREMwJ +j5igRvjY2h/5nt5DJFpNuZd0FURYuAjR/QFt8BdyDofVDNQXh6vmrWwz/dd9cEp z+4uGOCKMTAWME3twvxvgUb7EZcysYQNgXqvxwnlNqXmZ/2xvrmfgu5jjrILXYjc Rw5YKjtJ+YPa4Ro2SlIZx9Y1bz6arj8SQvnxR46NrVj0HqwSKoU33axqJbMs5Tnz sRshWobHbFno7c15hwviN9W1lEZSIvqWUWVKQIQsxI/GFcuHQNGBaxHDAeQJW2EM aHDr5vJMI6j3KSS6bR7cuOz+UfT+Wrk7Uzw== 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 asTD6yk0nf8a; Mon, 16 Mar 2020 17:53:05 +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:53:05 +0100 (CET) From: =?utf-8?q?J=C3=B6rg_Krause?= To: buildroot@buildroot.org Date: Mon, 16 Mar 2020 17:52:51 +0100 Message-Id: <20200316165253.560773-2-joerg.krause@embedded.rocks> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200316165253.560773-1-joerg.krause@embedded.rocks> References: <20200316165253.560773-1-joerg.krause@embedded.rocks> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 2/4] package/bluez5_utils: add mesh support 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" Mesh support was already added in version 5.47. Signed-off-by: Jörg Krause --- v2: * none --- package/bluez5_utils/Config.in | 7 +++++++ package/bluez5_utils/bluez5_utils.mk | 8 ++++++++ 2 files changed, 15 insertions(+) diff --git a/package/bluez5_utils/Config.in b/package/bluez5_utils/Config.in index 488a2f79c8..038c6e7095 100644 --- a/package/bluez5_utils/Config.in +++ b/package/bluez5_utils/Config.in @@ -60,6 +60,13 @@ config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HEALTH help Build BlueZ 5.x health plugin +config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MESH + bool "build mesh profile" + select BR2_PACKAGE_JSON_C + select BR2_PACKAGE_READLINE + help + Build BlueZ 5.x mesh plugin + config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MIDI bool "build midi profile" select BR2_PACKAGE_ALSA_LIB diff --git a/package/bluez5_utils/bluez5_utils.mk b/package/bluez5_utils/bluez5_utils.mk index e328f52eaf..2d95899f44 100644 --- a/package/bluez5_utils/bluez5_utils.mk +++ b/package/bluez5_utils/bluez5_utils.mk @@ -51,6 +51,14 @@ else BLUEZ5_UTILS_CONF_OPTS += --disable-health endif +# enable mesh profile +ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MESH),y) +BLUEZ5_UTILS_CONF_OPTS += --enable-mesh +BLUEZ5_UTILS_DEPENDENCIES += json-c readline +else +BLUEZ5_UTILS_CONF_OPTS += --disable-mesh +endif + # enable midi profile ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MIDI),y) BLUEZ5_UTILS_CONF_OPTS += --enable-midi