aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity/umip/umip/add-dependency-to-support-parallel-compilation.patch
blob: dbf00826407df01956e552553cd06d312017d5b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
When "make -j10", the compilation will fail,
because scan.c has included gram.h, but gram.h was produced
after scan.c was compiled

So add this dependency to ensure that gram.h is produced
before scan.c is produced.

Upstream-Status: Inappropriate [upstream is not active]

Signed-off-by: Roy.Li <RongQing.Li@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
 src/Makefile.am |    2 ++
 1 file changed, 2 insertions(+)

--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -81,3 +81,5 @@ CLEANFILES = gram.c gram.h \
 
 DISTCLEANFILES = $(BUILT_SOURCES)
 MAINTAINERCLEANFILES = Makefile.in
+
+scan.c: gram.h