Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame^] | 1 | From 51f1f351262a31d94c10504e4d135526c6a7caeb Mon Sep 17 00:00:00 2001 |
Andrew Geissler | 7f40b71 | 2020-05-15 14:09:53 -0500 | [diff] [blame] | 2 | From: Wang Mingyu <wangmy@cn.fujitsu.com> |
| 3 | Date: Sun, 10 May 2020 21:22:53 +0800 |
| 4 | Subject: [PATCH] fix bug of do_compile and do_install |
| 5 | |
| 6 | when multiple processes make run in parallel, |
| 7 | because of dependency error will occur. |
| 8 | |
| 9 | Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame^] | 10 | |
| 11 | [OP: Rebase to 0.9.3] |
| 12 | [OP: Drop dependencies that are already present in the 0.9.3 Makefile] |
| 13 | Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> |
Andrew Geissler | 7f40b71 | 2020-05-15 14:09:53 -0500 | [diff] [blame] | 14 | --- |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame^] | 15 | Makefile | 10 ++++++++++ |
| 16 | 1 file changed, 10 insertions(+) |
Andrew Geissler | 7f40b71 | 2020-05-15 14:09:53 -0500 | [diff] [blame] | 17 | |
| 18 | diff --git a/Makefile b/Makefile |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame^] | 19 | index 27b4641f..f195b570 100644 |
Andrew Geissler | 7f40b71 | 2020-05-15 14:09:53 -0500 | [diff] [blame] | 20 | --- a/Makefile |
| 21 | +++ b/Makefile |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame^] | 22 | @@ -79,6 +79,16 @@ libmpathpersist libmpathvalid multipath multipathd: libmultipath |
| 23 | libmultipath/prioritizers libmultipath/checkers libmultipath/foreign: libmultipath |
| 24 | mpathpersist multipathd: libmpathpersist |
Andrew Geissler | 7f40b71 | 2020-05-15 14:09:53 -0500 | [diff] [blame] | 25 | |
| 26 | +DEPS_ON_MULTIPATH := \ |
| 27 | + multipath \ |
Andrew Geissler | 7f40b71 | 2020-05-15 14:09:53 -0500 | [diff] [blame] | 28 | + multipathd \ |
| 29 | + mpathpersist \ |
| 30 | + libmpathpersist |
| 31 | + |
| 32 | +$(DEPS_ON_MULTIPATH:=.install): libmultipath.install |
| 33 | +mpathpersist.install: libmpathpersist.install |
| 34 | +libdmmp.install libmultipath/foreign.install: mpathpersist.install |
| 35 | + |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame^] | 36 | libmultipath/checkers.install \ |
| 37 | libmultipath/prioritizers.install \ |
| 38 | libmultipath/foreign.install: libmultipath.install |
Andrew Geissler | 7f40b71 | 2020-05-15 14:09:53 -0500 | [diff] [blame] | 39 | -- |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame^] | 40 | 2.38.1 |
Andrew Geissler | 7f40b71 | 2020-05-15 14:09:53 -0500 | [diff] [blame] | 41 | |