summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/bluez5/bluez5.inc
diff options
context:
space:
mode:
authorgudnimg <gudni.m.g@gmail.com>2024-07-11 19:12:53 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-07-16 11:56:53 +0100
commit28c9ac0d4f320b9fba261757b0a1c34b5e3b593b (patch)
treef83fbae0ed6fdcc33854f1e516183bcb161641b5 /meta/recipes-connectivity/bluez5/bluez5.inc
parent49497a9e469c22dd0a7ba1f8c1a0b6856e67ef3f (diff)
downloadpoky-28c9ac0d4f320b9fba261757b0a1c34b5e3b593b.tar.gz
bluez5: upgrade 5.72 -> 5.77
Changelog: * https://github.com/bluez/bluez/releases/tag/5.77 * https://github.com/bluez/bluez/releases/tag/5.76 * https://github.com/bluez/bluez/releases/tag/5.75 * https://github.com/bluez/bluez/releases/tag/5.74 * https://github.com/bluez/bluez/releases/tag/5.73 Changes relevant to the build: * One patch file is dropped. * /etc/bluetooth is now installed with 555 permission bits when systemd is not enabled. The do_install function was edited to change it back to 755. This was causing test failure when testing SDK packaging * Added a few missing PACKAGECONFIGs which are enabled by default. - asha-profiles: new in BlueZ 5.77 - ccp-profiles: new in BlueZ 5.73 - micp-profiles: new in BlueZ 5.70 - csip-profiles: new in BlueZ 5.67 - bass-profiles: new in BlueZ 5.67 - vcp-profiles: new in BlueZ 5.66 - mcp-profiles: new in BlueZ 5.66 - bap-profiles: new in BlueZ 5.66 (From OE-Core rev: ebbdb7cf5c0a3f0e6773704d4c4cc570358ec611) Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/bluez5/bluez5.inc')
-rw-r--r--meta/recipes-connectivity/bluez5/bluez5.inc22
1 files changed, 21 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc
index a1ffdeef8c..55aea1f3c7 100644
--- a/meta/recipes-connectivity/bluez5/bluez5.inc
+++ b/meta/recipes-connectivity/bluez5/bluez5.inc
@@ -18,6 +18,14 @@ 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 bap-profiles \
22 bass-profiles \
23 mcp-profiles \
24 ccp-profiles \
25 vcp-profiles \
26 micp-profiles \
27 csip-profiles \
28 asha-profiles \
21 network-profiles \ 29 network-profiles \
22 hid-profiles \ 30 hid-profiles \
23 hog-profiles \ 31 hog-profiles \
@@ -39,6 +47,14 @@ PACKAGECONFIG[network-profiles] = "--enable-network,--disable-network"
39PACKAGECONFIG[hid-profiles] = "--enable-hid,--disable-hid" 47PACKAGECONFIG[hid-profiles] = "--enable-hid,--disable-hid"
40PACKAGECONFIG[hog-profiles] = "--enable-hog,--disable-hog" 48PACKAGECONFIG[hog-profiles] = "--enable-hog,--disable-hog"
41PACKAGECONFIG[health-profiles] = "--enable-health,--disable-health" 49PACKAGECONFIG[health-profiles] = "--enable-health,--disable-health"
50PACKAGECONFIG[bap-profiles] = "--enable-bap,--disable-bap"
51PACKAGECONFIG[bass-profiles] = "--enable-bass,--disable-bass"
52PACKAGECONFIG[mcp-profiles] = "--enable-mcp,--disable-mcp"
53PACKAGECONFIG[ccp-profiles] = "--enable-ccp,--disable-ccp"
54PACKAGECONFIG[vcp-profiles] = "--enable-vcp,--disable-vcp"
55PACKAGECONFIG[micp-profiles] = "--enable-micp,--disable-micp"
56PACKAGECONFIG[csip-profiles] = "--enable-csip,--disable-csip"
57PACKAGECONFIG[asha-profiles] = "--enable-asha,--disable-asha"
42PACKAGECONFIG[sixaxis] = "--enable-sixaxis,--disable-sixaxis" 58PACKAGECONFIG[sixaxis] = "--enable-sixaxis,--disable-sixaxis"
43PACKAGECONFIG[tools] = "--enable-tools,--disable-tools" 59PACKAGECONFIG[tools] = "--enable-tools,--disable-tools"
44PACKAGECONFIG[threads] = "--enable-threads,--disable-threads" 60PACKAGECONFIG[threads] = "--enable-threads,--disable-threads"
@@ -51,7 +67,6 @@ PACKAGECONFIG[manpages] = "--enable-manpages,--disable-manpages,python3-docutils
51SRC_URI = "${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.xz \ 67SRC_URI = "${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.xz \
52 file://init \ 68 file://init \
53 file://run-ptest \ 69 file://run-ptest \
54 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '', 'file://0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch', d)} \
55 file://0001-tests-add-a-target-for-building-tests-without-runnin.patch \ 70 file://0001-tests-add-a-target-for-building-tests-without-runnin.patch \
56 file://0001-test-gatt-Fix-hung-issue.patch \ 71 file://0001-test-gatt-Fix-hung-issue.patch \
57 file://0004-src-shared-util.c-include-linux-limits.h.patch \ 72 file://0004-src-shared-util.c-include-linux-limits.h.patch \
@@ -99,6 +114,11 @@ do_install:append() {
99 # Patch python tools to use Python 3; they should be source compatible, but 114 # Patch python tools to use Python 3; they should be source compatible, but
100 # still refer to Python 2 in the shebang 115 # still refer to Python 2 in the shebang
101 sed -i -e '1s,#!.*python.*,#!${bindir}/python3,' ${D}${libdir}/bluez/test/* 116 sed -i -e '1s,#!.*python.*,#!${bindir}/python3,' ${D}${libdir}/bluez/test/*
117
118 # Fix the /etc/bluetooth directory permissions when systemd is disabled
119 if ${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'false', 'true', d)}; then
120 chmod 0755 ${D}${sysconfdir}/bluetooth
121 fi
102} 122}
103 123
104PACKAGES =+ "${PN}-testtools ${PN}-obex ${PN}-noinst-tools" 124PACKAGES =+ "${PN}-testtools ${PN}-obex ${PN}-noinst-tools"