From patchwork Mon Mar 16 16:40:22 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: 1255603 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.133; helo=hemlock.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=ulVz2YOD; dkim-atps=neutral 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 48h29M4sMXz9sPJ for ; Tue, 17 Mar 2020 03:40:39 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 210A688865; Mon, 16 Mar 2020 16:40:37 +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 lOF9vrvz++e6; Mon, 16 Mar 2020 16:40:36 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 7FDE588F34; Mon, 16 Mar 2020 16:40:36 +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 AAAE41BF38A for ; Mon, 16 Mar 2020 16:40:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id A747688F34 for ; Mon, 16 Mar 2020 16:40:34 +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 wuvgM20q4juw for ; Mon, 16 Mar 2020 16:40:33 +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 hemlock.osuosl.org (Postfix) with ESMTPS id 9C4B188865 for ; Mon, 16 Mar 2020 16:40:33 +0000 (UTC) Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id A794D2400FF for ; Mon, 16 Mar 2020 17:40:30 +0100 (CET) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 48h2996kQ6z9rxM for ; Mon, 16 Mar 2020 17:40:29 +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= 1584376829; x=1584981630; bh=ICmOvI1wwyiF5rGkfha4i0mh2mWwN49quOf /+SYCanY=; b=ulVz2YOD+ijbmySUJHASP7wqFE1wR7qp7z5utPlUmXooBChqsbY UuK7My649DvTvL63Uzzwapa93XE71oGDqaZEQ1t5eHzVBmOHtl7sWDIghWwV9HFl x3ReUxoqv9kAbTiSsW+oV5sBHVI3X+fCLaazAFhIY8cqcY5pygIzoW1IyWUZFexS W+sR+aT5cXulpPgi1MRytK77epP5fj+6ygJVXGxEsRNDhpx4biH+vNunVvXU2G99 LjjVMmVWrciJQ34kW1y2FlK6RJ7Zg1ITDBDEBqZgvdLH12r/oxpdlw+Hh0WF6fnA ZsQq/70krPAQD0RiSN92oK6rK8PN2OKlw9w== 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 KjdJQHxVZizy; Mon, 16 Mar 2020 17:40:29 +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:28 +0100 (CET) From: =?utf-8?q?J=C3=B6rg_Krause?= To: buildroot@buildroot.org Date: Mon, 16 Mar 2020 17:40:22 +0100 Message-Id: <20200316164024.540598-2-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 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 --- 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