mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 16:27:27 +00:00
b16e4010e3
Add missing dependency in Makefile to fix the parallel compile issue and re-enable PARALLEL_MAKE Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
24 lines
628 B
Diff
24 lines
628 B
Diff
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
|