mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 12:32:15 +02:00
bluez5: Fix a race issue for tools
Fixed: cp ../bluez-5.50/tools/hid2hci.rules tools/97-hid2hci.rules cp: cannot create regular file tools/97-hid2hci.rules: No such file or directory make[1]: *** [tools/97-hid2hci.rules] Error 1 (From OE-Core rev: 5cb2b165cf89a307531e199248bc98fb51541521) (From OE-Core rev: be0c94a40972618433c85fc097ede255f95e6c1d) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
67f6006b8e
commit
8c31da0835
@@ -52,6 +52,7 @@ SRC_URI = "\
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '', 'file://0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch', d)} \
|
||||
file://0001-tests-add-a-target-for-building-tests-without-runnin.patch \
|
||||
file://0001-test-gatt-Fix-hung-issue.patch \
|
||||
file://0001-Makefile.am-Fix-a-race-issue-for-tools.patch \
|
||||
"
|
||||
S = "${WORKDIR}/bluez-${PV}"
|
||||
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
From 048e1844092cb4b3afd23f16fc2cc70dd2e122b7 Mon Sep 17 00:00:00 2001
|
||||
From: Robert Yang <liezhi.yang@windriver.com>
|
||||
Date: Mon, 24 Dec 2018 17:57:14 -0800
|
||||
Subject: [PATCH] Makefile.am: Fix a race issue for tools
|
||||
|
||||
Fixed:
|
||||
cp ../bluez-5.50/tools/hid2hci.rules tools/97-hid2hci.rules
|
||||
cp: cannot create regular file tools/97-hid2hci.rules: No such file or directory
|
||||
make[1]: *** [tools/97-hid2hci.rules] Error 1
|
||||
|
||||
Upstream-Status: Submitted[https://www.spinics.net/lists/linux-bluetooth/msg78361.html]
|
||||
|
||||
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
|
||||
---
|
||||
Makefile.am | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 6d1ff11..35a01f2 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -504,6 +504,7 @@ src/builtin.h: src/genbuiltin $(builtin_sources)
|
||||
$(AM_V_GEN)$(srcdir)/src/genbuiltin $(builtin_modules) > $@
|
||||
|
||||
tools/%.rules:
|
||||
+ [ -e tools ] || $(MKDIR_P) tools
|
||||
$(AM_V_GEN)cp $(srcdir)/$(subst 97-,,$@) $@
|
||||
|
||||
$(lib_libbluetooth_la_OBJECTS): $(local_headers)
|
||||
--
|
||||
2.10.2
|
||||
|
||||
Reference in New Issue
Block a user