Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1 | From 24ef2a6544f9c7ec01bc7ae73dffa2974a1e251d Mon Sep 17 00:00:00 2001 |
| 2 | From: Chen Qi <Qi.Chen@windriver.com> |
| 3 | Date: Wed, 5 Dec 2018 09:46:22 +0800 |
| 4 | Subject: [PATCH] fix parallel build error |
| 5 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 6 | make -j was failing sometimesa like this |
| 7 | | ccache i586-poky-linux-gcc -march=i586 --sysroot=/home/nitin/build/build0/tmp/sysroots/i586-poky-linux -I. -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -o atd atd.o daemon.o -lfl -lpam -Wl,-O1 -Wl,--as-needed |
| 8 | | parsetime.l:5:19: fatal error: y.tab.h: No such file or directory |
| 9 | | compilation terminated. |
| 10 | | make: *** [lex.yy.o] Error 1 |
| 11 | | make: *** Waiting for unfinished jobs.... |
| 12 | |
| 13 | Fixed the issue by adding a dependency in the makefile. |
| 14 | Nitin <nitin.a.kamble@intel.com> |
| 15 | 2010/09/02 |
| 16 | |
| 17 | Upstream-Status: Pending |
| 18 | |
| 19 | Signed-off-by: Scott Garman <scott.a.garman@intel.com> |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 20 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 21 | --- |
| 22 | Makefile.in | 2 ++ |
| 23 | 1 file changed, 2 insertions(+) |
| 24 | |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 25 | Index: at-3.2.1/Makefile.in |
| 26 | =================================================================== |
| 27 | --- at-3.2.1.orig/Makefile.in |
| 28 | +++ at-3.2.1/Makefile.in |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 29 | @@ -83,6 +83,8 @@ y.tab.c y.tab.h: parsetime.y |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 30 | lex.yy.c: parsetime.l |
| 31 | $(LEX) -i parsetime.l |
| 32 | |
| 33 | +parsetime.l: y.tab.h |
| 34 | + |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 35 | atd.service: atd.service.in |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 36 | cat $< | sed -e 's![@]sbindir[@]!$(sbindir)!g' | sed -e 's![@]atjobdir[@]!$(atjobdir)!g' > $@ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 37 | |