diff options
Diffstat (limited to 'meta/recipes-extended/at/at/makefile-fix-parallel.patch')
-rw-r--r-- | meta/recipes-extended/at/at/makefile-fix-parallel.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-extended/at/at/makefile-fix-parallel.patch b/meta/recipes-extended/at/at/makefile-fix-parallel.patch new file mode 100644 index 0000000000..932a4c0bfe --- /dev/null +++ b/meta/recipes-extended/at/at/makefile-fix-parallel.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | From 150b63a936af71b992a3a7b0fc2d2497e51fc800 Mon Sep 17 00:00:00 2001 | ||
2 | From: Robert Yang <liezhi.yang@windriver.com> | ||
3 | Date: Wed, 28 Jan 2015 23:52:00 -0800 | ||
4 | Subject: [PATCH] Makefile: fix for parallel build | ||
5 | |||
6 | Fixed: | ||
7 | y.tab.c:1001:0: error: unterminated #if | ||
8 | |||
9 | Let "$(YACC) -d parsetime.y" only run once will fix the problem. | ||
10 | |||
11 | Upstream-Status: Pending | ||
12 | |||
13 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> | ||
14 | --- | ||
15 | Makefile | 4 +++- | ||
16 | 1 file changed, 3 insertions(+), 1 deletion(-) | ||
17 | |||
18 | diff --git a/Makefile.in b/Makefile.in | ||
19 | index 2a9b918..aa7c04a 100644 | ||
20 | --- a/Makefile.in | ||
21 | +++ b/Makefile.in | ||
22 | @@ -75,7 +75,9 @@ at: $(ATOBJECTS) | ||
23 | atd: $(RUNOBJECTS) | ||
24 | $(CC) $(LDFLAGS) -o atd $(RUNOBJECTS) $(LIBS) $(PAMLIB) | ||
25 | |||
26 | -y.tab.c y.tab.h: parsetime.y | ||
27 | +y.tab.h: y.tab.c | ||
28 | + | ||
29 | +y.tab.c: parsetime.y | ||
30 | $(YACC) -d parsetime.y | ||
31 | |||
32 | lex.yy.c: parsetime.l | ||
33 | -- | ||
34 | 1.7.9.5 | ||
35 | |||