summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/ofono/ofono/0001-build-Fix-a-race-condition.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/ofono/ofono/0001-build-Fix-a-race-condition.patch')
-rw-r--r--meta/recipes-connectivity/ofono/ofono/0001-build-Fix-a-race-condition.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/ofono/ofono/0001-build-Fix-a-race-condition.patch b/meta/recipes-connectivity/ofono/ofono/0001-build-Fix-a-race-condition.patch
new file mode 100644
index 0000000000..2e2aa88265
--- /dev/null
+++ b/meta/recipes-connectivity/ofono/ofono/0001-build-Fix-a-race-condition.patch
@@ -0,0 +1,28 @@
1From 3e43e3342f3fada1624a28500a5337019fed7d89 Mon Sep 17 00:00:00 2001
2From: Adrian Bunk <bunk@kernel.org>
3Date: Thu, 9 May 2019 12:19:51 +0300
4Subject: build: Fix a race condition
5
6ell/ell.h was written before ell/ existed
7
8Upstream-Status: Backport
9Signed-off-by: Adrian Bunk <bunk@stusta.de>
10---
11 Makefile.am | 1 +
12 1 file changed, 1 insertion(+)
13
14diff --git a/Makefile.am b/Makefile.am
15index a569c4a3..d2e310d5 100644
16--- a/Makefile.am
17+++ b/Makefile.am
18@@ -1107,6 +1107,7 @@ ell/internal: Makefile
19 done > $@
20
21 ell/ell.h: Makefile
22+ $(AM_V_at)$(MKDIR_P) ell
23 $(AM_V_at)echo -n > $@
24 $(AM_V_GEN)for f in $(ell_headers) ; do \
25 echo "#include <$$f>" >> $@ ; \
26--
272.20.1
28