diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
commit | 972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch) | |
tree | 97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-devtools/unfs3/unfs3/unfs3_parallel_build.patch | |
download | poky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-devtools/unfs3/unfs3/unfs3_parallel_build.patch')
-rw-r--r-- | meta/recipes-devtools/unfs3/unfs3/unfs3_parallel_build.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/recipes-devtools/unfs3/unfs3/unfs3_parallel_build.patch b/meta/recipes-devtools/unfs3/unfs3/unfs3_parallel_build.patch new file mode 100644 index 0000000000..6f64dd5b3e --- /dev/null +++ b/meta/recipes-devtools/unfs3/unfs3/unfs3_parallel_build.patch | |||
@@ -0,0 +1,37 @@ | |||
1 | Fix parallel build dependency issue | ||
2 | |||
3 | If building with make -j2 the lib.a will not get built in time. | ||
4 | |||
5 | Jason Wessel <jason.wessel@windriver.com> | ||
6 | |||
7 | Upstream-Status: Submitted http://sourceforge.net/p/unfs3/bugs/5/ | ||
8 | |||
9 | --- | ||
10 | Config/Makefile.in | 3 +++ | ||
11 | Makefile.in | 3 ++- | ||
12 | 2 files changed, 5 insertions(+), 1 deletion(-) | ||
13 | |||
14 | --- a/Makefile.in | ||
15 | +++ b/Makefile.in | ||
16 | @@ -29,7 +29,8 @@ DESTDIR = | ||
17 | |||
18 | VPATH = $(srcdir) | ||
19 | |||
20 | -all: subdirs unfsd$(EXEEXT) | ||
21 | +all: subdirs | ||
22 | + $(MAKE) unfsd$(EXEEXT) | ||
23 | |||
24 | unfsd$(EXEEXT): $(OBJS) $(CONFOBJ) $(EXTRAOBJ) | ||
25 | $(CC) -o $@ $(OBJS) $(CONFOBJ) $(EXTRAOBJ) $(LDFLAGS) | ||
26 | --- a/Config/Makefile.in | ||
27 | +++ b/Config/Makefile.in | ||
28 | @@ -16,6 +16,9 @@ lib.a: $(OBJS) | ||
29 | $(AR) crs lib.a $(OBJS) | ||
30 | |||
31 | y.tab.h y.tab.c: $(srcdir)/exports.y | ||
32 | +y.tab.h: y.tab.c | ||
33 | + | ||
34 | +y.tab.c: $(srcdir)/exports.y | ||
35 | $(YACC) -d $(srcdir)/exports.y | ||
36 | |||
37 | y.tab.o: y.tab.c $(srcdir)/exports.h $(top_srcdir)/nfs.h $(top_srcdir)/mount.h $(top_srcdir)/daemon.h | ||