blob: 97425fe9b8724ebbf8f10859a8029b926f38a444 [file] [log] [blame]
Andrew Geissler517393d2023-01-13 08:55:19 -06001From 51f1f351262a31d94c10504e4d135526c6a7caeb Mon Sep 17 00:00:00 2001
Andrew Geissler7f40b712020-05-15 14:09:53 -05002From: Wang Mingyu <wangmy@cn.fujitsu.com>
3Date: Sun, 10 May 2020 21:22:53 +0800
4Subject: [PATCH] fix bug of do_compile and do_install
5
6when multiple processes make run in parallel,
7because of dependency error will occur.
8
9Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Andrew Geissler517393d2023-01-13 08:55:19 -060010
11[OP: Rebase to 0.9.3]
12[OP: Drop dependencies that are already present in the 0.9.3 Makefile]
13Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Andrew Geissler7f40b712020-05-15 14:09:53 -050014---
Andrew Geissler517393d2023-01-13 08:55:19 -060015 Makefile | 10 ++++++++++
16 1 file changed, 10 insertions(+)
Andrew Geissler7f40b712020-05-15 14:09:53 -050017
18diff --git a/Makefile b/Makefile
Andrew Geissler517393d2023-01-13 08:55:19 -060019index 27b4641f..f195b570 100644
Andrew Geissler7f40b712020-05-15 14:09:53 -050020--- a/Makefile
21+++ b/Makefile
Andrew Geissler517393d2023-01-13 08:55:19 -060022@@ -79,6 +79,16 @@ libmpathpersist libmpathvalid multipath multipathd: libmultipath
23 libmultipath/prioritizers libmultipath/checkers libmultipath/foreign: libmultipath
24 mpathpersist multipathd: libmpathpersist
Andrew Geissler7f40b712020-05-15 14:09:53 -050025
26+DEPS_ON_MULTIPATH := \
27+ multipath \
Andrew Geissler7f40b712020-05-15 14:09:53 -050028+ 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 Geissler517393d2023-01-13 08:55:19 -060036 libmultipath/checkers.install \
37 libmultipath/prioritizers.install \
38 libmultipath/foreign.install: libmultipath.install
Andrew Geissler7f40b712020-05-15 14:09:53 -050039--
Andrew Geissler517393d2023-01-13 08:55:19 -0600402.38.1
Andrew Geissler7f40b712020-05-15 14:09:53 -050041