summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/bluez5/bluez5/0001-Makefile.am-Fix-a-race-issue-for-tools.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-12-10 13:29:57 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-12-10 13:31:04 +0000
commit60901bc11dc94fab35dd7d7e58039499150d2c90 (patch)
tree0364a313fb4d9dd250cc58418df76acd2e42471c /meta/recipes-connectivity/bluez5/bluez5/0001-Makefile.am-Fix-a-race-issue-for-tools.patch
parent27f1f98ab569c6b715edbce24a9c2d5b8da43f83 (diff)
downloadpoky-60901bc11dc94fab35dd7d7e58039499150d2c90.tar.gz
Revert "bluez: update 5.50 -> 5.52"
This reverts commit dad8cd50bcc4203a65d153dc2445502c1e728975. It is causing performance problems in ptest, taking hours (~18) to parse the ptest runner logs. Log output increased from ~4MB to ~65MB. Revert until we can deal with the performance issue. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/bluez5/bluez5/0001-Makefile.am-Fix-a-race-issue-for-tools.patch')
-rw-r--r--meta/recipes-connectivity/bluez5/bluez5/0001-Makefile.am-Fix-a-race-issue-for-tools.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/bluez5/bluez5/0001-Makefile.am-Fix-a-race-issue-for-tools.patch b/meta/recipes-connectivity/bluez5/bluez5/0001-Makefile.am-Fix-a-race-issue-for-tools.patch
new file mode 100644
index 0000000000..b6cb978393
--- /dev/null
+++ b/meta/recipes-connectivity/bluez5/bluez5/0001-Makefile.am-Fix-a-race-issue-for-tools.patch
@@ -0,0 +1,30 @@
1Upstream-Status: Backport
2Signed-off-by: Ross Burton <ross.burton@intel.com>
3
4From 117c41242c01e057295aed80ed973c6dc7e35fe2 Mon Sep 17 00:00:00 2001
5From: Ross Burton <ross.burton@intel.com>
6Date: Tue, 8 Oct 2019 11:01:56 +0100
7Subject: [PATCH BlueZ] Makefile.am: add missing mkdir in rules generation
8
9In parallel out-of-tree builds it's possible that tools/*.rules are
10generated before the target directory has been implicitly created. Solve this by
11creating the directory before writing into it.
12---
13 Makefile.am | 1 +
14 1 file changed, 1 insertion(+)
15
16diff --git a/Makefile.am b/Makefile.am
17index 2ac28b23d..e7bcd2366 100644
18--- a/Makefile.am
19+++ b/Makefile.am
20@@ -589,6 +589,7 @@ src/builtin.h: src/genbuiltin $(builtin_sources)
21 $(AM_V_GEN)$(srcdir)/src/genbuiltin $(builtin_modules) > $@
22
23 tools/%.rules:
24+ $(AM_V_at)$(MKDIR_P) tools
25 $(AM_V_GEN)cp $(srcdir)/$(subst 97-,,$@) $@
26
27 $(lib_libbluetooth_la_OBJECTS): $(local_headers)
28--
292.20.1
30