mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-30 13:00:02 +00:00
umip: fix for parallel compilation
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>
This commit is contained in:
committed by
Martin Jansa
parent
fb26fdcda0
commit
b58c258b6e
+23
@@ -0,0 +1,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
|
||||
@@ -9,12 +9,12 @@ LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=073dc31ccb2ebed70db54f1e8aeb4c33"
|
||||
DEPENDS = "rpm indent-native"
|
||||
|
||||
SRC_URI = "git://git.umip.org/umip.git"
|
||||
SRC_URI = "git://git.umip.org/umip.git \
|
||||
file://add-dependency-to-support-parallel-compilation.patch \
|
||||
"
|
||||
SRCREV = "428974c2d0d8e75a2750a3ab0488708c5dfdd8e3"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
EXTRA_OE_CONF = "--enable-vt"
|
||||
|
||||
inherit autotools-brokensep
|
||||
|
||||
PARALLEL_MAKE = ""
|
||||
|
||||
Reference in New Issue
Block a user