diff options
Diffstat (limited to 'meta/recipes-extended/sysstat/files/0001-Update-Makefile-to-allow-for-parallel-execution.patch')
-rw-r--r-- | meta/recipes-extended/sysstat/files/0001-Update-Makefile-to-allow-for-parallel-execution.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-extended/sysstat/files/0001-Update-Makefile-to-allow-for-parallel-execution.patch b/meta/recipes-extended/sysstat/files/0001-Update-Makefile-to-allow-for-parallel-execution.patch new file mode 100644 index 0000000000..c82b19cf10 --- /dev/null +++ b/meta/recipes-extended/sysstat/files/0001-Update-Makefile-to-allow-for-parallel-execution.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | Upstream-Status: Backport | ||
2 | Signed-off-by: Roy.Li <rongqing.li@windriver.com> | ||
3 | |||
4 | From eb44730094a68f4d37d95ddc3480a5972619b43f Mon Sep 17 00:00:00 2001 | ||
5 | From: Sebastien GODARD <sysstat@orange.fr.fake> | ||
6 | Date: Sat, 22 Jun 2013 14:08:40 +0200 | ||
7 | Subject: [PATCH] Update Makefile to allow for parallel execution | ||
8 | |||
9 | Rewrite rule for librdstats.a in Makefile to prevent possible file | ||
10 | corruption when using make -j. | ||
11 | |||
12 | Signed-off-by: Sebastien GODARD <sysstat@orange.fr.fake> | ||
13 | --- | ||
14 | Makefile.in | 4 +++- | ||
15 | 1 file changed, 3 insertions(+), 1 deletion(-) | ||
16 | |||
17 | diff --git a/Makefile.in b/Makefile.in | ||
18 | index f8e6159..159cacf 100644 | ||
19 | --- a/Makefile.in | ||
20 | +++ b/Makefile.in | ||
21 | @@ -202,7 +202,9 @@ sadf_misc.o: sadf_misc.c sadf.h sa.h | ||
22 | libsyscom.a: common.o ioconf.o | ||
23 | $(AR) rvs $@ $? | ||
24 | |||
25 | -librdstats.a: librdstats.a(rd_stats.o count.o) | ||
26 | +# Ditto | ||
27 | +librdstats.a: rd_stats.o count.o | ||
28 | + $(AR) rvs $@ $? | ||
29 | |||
30 | librdsensors.a: librdsensors.a(rd_sensors.o) | ||
31 | |||
32 | -- | ||
33 | 1.7.10.4 | ||
34 | |||