Patrick Williams | b58112e | 2024-03-07 11:16:36 -0600 | [diff] [blame] | 1 | From 949070286692dfff89213792571da233fe82e440 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 |
Patrick Williams | b58112e | 2024-03-07 11:16:36 -0600 | [diff] [blame] | 4 | Subject: [PATCH 11/12] fix bug of do_compile and do_install |
Andrew Geissler | 7f40b71 | 2020-05-15 14:09:53 -0500 | [diff] [blame] | 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> |
Patrick Williams | 03514f1 | 2024-04-05 07:04:11 -0500 | [diff] [blame^] | 14 | |
| 15 | Upstream-Status: Pending |
Andrew Geissler | 7f40b71 | 2020-05-15 14:09:53 -0500 | [diff] [blame] | 16 | --- |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 17 | Makefile | 10 ++++++++++ |
| 18 | 1 file changed, 10 insertions(+) |
Andrew Geissler | 7f40b71 | 2020-05-15 14:09:53 -0500 | [diff] [blame] | 19 | |
| 20 | diff --git a/Makefile b/Makefile |
Patrick Williams | b58112e | 2024-03-07 11:16:36 -0600 | [diff] [blame] | 21 | index 4df5f161..065249c2 100644 |
Andrew Geissler | 7f40b71 | 2020-05-15 14:09:53 -0500 | [diff] [blame] | 22 | --- a/Makefile |
| 23 | +++ b/Makefile |
Patrick Williams | b58112e | 2024-03-07 11:16:36 -0600 | [diff] [blame] | 24 | @@ -91,6 +91,16 @@ libmpathpersist libmpathvalid multipath multipathd: libmultipath |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 25 | libmultipath/prioritizers libmultipath/checkers libmultipath/foreign: libmultipath |
| 26 | mpathpersist multipathd: libmpathpersist |
Andrew Geissler | 7f40b71 | 2020-05-15 14:09:53 -0500 | [diff] [blame] | 27 | |
| 28 | +DEPS_ON_MULTIPATH := \ |
| 29 | + multipath \ |
Andrew Geissler | 7f40b71 | 2020-05-15 14:09:53 -0500 | [diff] [blame] | 30 | + multipathd \ |
| 31 | + mpathpersist \ |
| 32 | + libmpathpersist |
| 33 | + |
| 34 | +$(DEPS_ON_MULTIPATH:=.install): libmultipath.install |
| 35 | +mpathpersist.install: libmpathpersist.install |
| 36 | +libdmmp.install libmultipath/foreign.install: mpathpersist.install |
| 37 | + |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 38 | libmultipath/checkers.install \ |
| 39 | libmultipath/prioritizers.install \ |
| 40 | libmultipath/foreign.install: libmultipath.install |
Andrew Geissler | 7f40b71 | 2020-05-15 14:09:53 -0500 | [diff] [blame] | 41 | -- |
Patrick Williams | b58112e | 2024-03-07 11:16:36 -0600 | [diff] [blame] | 42 | 2.25.1 |
Andrew Geissler | 7f40b71 | 2020-05-15 14:09:53 -0500 | [diff] [blame] | 43 | |