summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/ofono/ofono/0001-build-Fix-a-race-condition.patch
blob: 2e2aa882656bec2b7525b74f7a3715d8cb53cbb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From 3e43e3342f3fada1624a28500a5337019fed7d89 Mon Sep 17 00:00:00 2001
From: Adrian Bunk <bunk@kernel.org>
Date: Thu, 9 May 2019 12:19:51 +0300
Subject: build: Fix a race condition

ell/ell.h was written before ell/ existed

Upstream-Status: Backport
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
 Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile.am b/Makefile.am
index a569c4a3..d2e310d5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1107,6 +1107,7 @@ ell/internal: Makefile
 	done > $@
 
 ell/ell.h: Makefile
+	$(AM_V_at)$(MKDIR_P) ell
 	$(AM_V_at)echo -n > $@
 	$(AM_V_GEN)for f in $(ell_headers) ; do \
 		echo "#include <$$f>" >> $@ ; \
-- 
2.20.1