diff options
| author | Jeroen Hofstee <jhofstee@victronenergy.com> | 2025-05-04 13:15:35 +0200 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2025-05-08 13:37:30 -0700 |
| commit | b19f30b8a026152778d045a3c4a02e6648760bc0 (patch) | |
| tree | 04190fe81b4fa0f4e554ee36385f1b2ef5e81e2b /meta/recipes-connectivity | |
| parent | 679db8c1a328f534955fde7b575d77b237234ff7 (diff) | |
| download | poky-b19f30b8a026152778d045a3c4a02e6648760bc0.tar.gz | |
bluez5: make media control a PACKAGECONFIG option
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
(From OE-Core rev: 82448a6c8b720cefc200513daa41115961b43e8f)
Signed-off-by: Jeroen Hofstee <jhofstee@victronenergy.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-connectivity')
| -rw-r--r-- | meta/recipes-connectivity/bluez5/bluez5.inc | 2 |
1 files changed, 2 insertions, 0 deletions
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 \ | |||
| 18 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ | 18 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ |
| 19 | a2dp-profiles \ | 19 | a2dp-profiles \ |
| 20 | avrcp-profiles \ | 20 | avrcp-profiles \ |
| 21 | mcp-profiles \ | ||
| 21 | network-profiles \ | 22 | network-profiles \ |
| 22 | hid-profiles \ | 23 | hid-profiles \ |
| 23 | hog-profiles \ | 24 | hog-profiles \ |
| @@ -35,6 +36,7 @@ PACKAGECONFIG[nfc] = "--enable-nfc,--disable-nfc" | |||
| 35 | PACKAGECONFIG[sap-profiles] = "--enable-sap,--disable-sap" | 36 | PACKAGECONFIG[sap-profiles] = "--enable-sap,--disable-sap" |
| 36 | PACKAGECONFIG[a2dp-profiles] = "--enable-a2dp,--disable-a2dp" | 37 | PACKAGECONFIG[a2dp-profiles] = "--enable-a2dp,--disable-a2dp" |
| 37 | PACKAGECONFIG[avrcp-profiles] = "--enable-avrcp,--disable-avrcp" | 38 | PACKAGECONFIG[avrcp-profiles] = "--enable-avrcp,--disable-avrcp" |
| 39 | PACKAGECONFIG[mcp-profiles] = "--enable-mcp,--disable-mcp" | ||
| 38 | PACKAGECONFIG[network-profiles] = "--enable-network,--disable-network" | 40 | PACKAGECONFIG[network-profiles] = "--enable-network,--disable-network" |
| 39 | PACKAGECONFIG[hid-profiles] = "--enable-hid,--disable-hid" | 41 | PACKAGECONFIG[hid-profiles] = "--enable-hid,--disable-hid" |
| 40 | PACKAGECONFIG[hog-profiles] = "--enable-hog,--disable-hog" | 42 | PACKAGECONFIG[hog-profiles] = "--enable-hog,--disable-hog" |
