From patchwork Sun May 4 11:07:21 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeroen Hofstee X-Patchwork-Id: 62409 X-Patchwork-Delegate: steve@sakoman.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 97528C3ABAC for ; Sun, 4 May 2025 13:54:59 +0000 (UTC) Received: from outbound3.mail.transip.nl (outbound3.mail.transip.nl [136.144.136.12]) by mx.groups.io with SMTP id smtpd.web11.26887.1746356852484961701 for ; Sun, 04 May 2025 04:07:33 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@myspectrum.nl header.s=transip-a header.b=JbDi/2NK; spf=pass (domain: myspectrum.nl, ip: 136.144.136.12, mailfrom: jeroen@myspectrum.nl) Received: from submission2.mail.transip.nl (unknown [10.100.4.71]) by outbound3.mail.transip.nl (Postfix) with ESMTP id 4Zr21Y1SkSznB2h; Sun, 4 May 2025 13:07:29 +0200 (CEST) Received: from yellow.myspectrum.nl (unknown [IPv6:2a01:7c8:bb0c:45:5054:ff:fe01:854]) by submission2.mail.transip.nl (Postfix) with ESMTPSA id 4Zr21W62l4z2rJ5nm; Sun, 4 May 2025 13:07:27 +0200 (CEST) Received: from yellow.myspectrum.nl (84-27-20-154.cable.dynamic.v4.ziggo.nl [84.27.20.154]) (Authenticated sender: sendmail@myspectrum.nl) by yellow.myspectrum.nl (Postfix) with ESMTPSA id C821F200DB; Sun, 4 May 2025 11:07:25 +0000 (UTC) Authentication-Results: yellow.myspectrum.nl; auth=pass smtp.auth=sendmail@myspectrum.nl smtp.mailfrom=jeroen@myspectrum.nl Received: by yellow.myspectrum.nl (sSMTP sendmail emulation); Sun, 04 May 2025 13:07:25 +0200 From: jeroen@myspectrum.nl To: openembedded-core@lists.openembedded.org Cc: Jeroen Hofstee Subject: [OE-core][scarthgap][PATCH 1/2] bluez5: make media control a PACKAGECONFIG option Date: Sun, 4 May 2025 13:07:21 +0200 Message-ID: <20250504110722.2549513-1-jeroen@myspectrum.nl> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Scanned-By: ClueGetter at submission2.mail.transip.nl DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=transip-a; d=myspectrum.nl; t=1746356847; h=from:subject:to:cc:date: mime-version; bh=cliYmG/ma3t9jBNBjR2bGMn3sCQ4XThN94Os+QFuhWM=; b=JbDi/2NKWOJhTMQgagYYyVqFadxyoiQUVLGKoKgLfPK+ApLfeRwvtGYeBhRHNAYhmWcB1s jqkEYfYJMIzB2yae4RQYdaixKIAOocNgfPIPeYdoC0/2YRzZjXVO1myKeZ9U0m+Wu/FqWy y9xAUhewSqfOG1aJtkgimtiqsCQ7AfwxEv2BZXt3N+HQHLVW0JFfYxuLPVaf9tpvGI4Jj2 qzw8Gdo0K4fqeN1xBZp+Ltj31QpqdNOTm16YykR0hmEi1KCS2ziC5XZhzxYqCUbOU00hsP Q+6h3m85y3xnh76ZSiYUL4g9y6vZFsjTDOQWHNU71h5h8rsI2aXoqis8FkLHyg== X-Report-Abuse-To: abuse@transip.nl List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 04 May 2025 13:54:59 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/215968 From: Jeroen Hofstee When not building with the default PACKAGECONFIG options, the build can fail with: undefined reference to `media_player_controller_create' undefined reference to `media_player_set_status' Otherwise. So disable it when not set and enable it by default. The packageconfig option is the same as in Styhead. https://github.com/openembedded/openembedded-core/commit/ebbdb7cf5c0a3f0e6773704d4c4cc570358ec611#diff-9d9284f6f27a81c75dffffd6d601b40c8266ae12e678d0a49c46bdb8356a0e91R52 --- meta/recipes-connectivity/bluez5/bluez5.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc index 39e1bf389c..731bfa0e40 100644 --- a/meta/recipes-connectivity/bluez5/bluez5.inc +++ b/meta/recipes-connectivity/bluez5/bluez5.inc @@ -18,6 +18,7 @@ PACKAGECONFIG ??= "obex-profiles \ ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ a2dp-profiles \ avrcp-profiles \ + mcp-profiles \ network-profiles \ hid-profiles \ hog-profiles \ @@ -35,6 +36,7 @@ PACKAGECONFIG[nfc] = "--enable-nfc,--disable-nfc" PACKAGECONFIG[sap-profiles] = "--enable-sap,--disable-sap" PACKAGECONFIG[a2dp-profiles] = "--enable-a2dp,--disable-a2dp" PACKAGECONFIG[avrcp-profiles] = "--enable-avrcp,--disable-avrcp" +PACKAGECONFIG[mcp-profiles] = "--enable-mcp,--disable-mcp" PACKAGECONFIG[network-profiles] = "--enable-network,--disable-network" PACKAGECONFIG[hid-profiles] = "--enable-hid,--disable-hid" PACKAGECONFIG[hog-profiles] = "--enable-hog,--disable-hog"