blob: abaea2cfb6636c311c4272c2d4f8d507ff100a4b [file] [log] [blame]
Patrick Williamsb58112e2024-03-07 11:16:36 -06001From 949070286692dfff89213792571da233fe82e440 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
Patrick Williamsb58112e2024-03-07 11:16:36 -06004Subject: [PATCH 11/12] fix bug of do_compile and do_install
Andrew Geissler7f40b712020-05-15 14:09:53 -05005
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>
Patrick Williams03514f12024-04-05 07:04:11 -050014
15Upstream-Status: Pending
Andrew Geissler7f40b712020-05-15 14:09:53 -050016---
Andrew Geissler517393d2023-01-13 08:55:19 -060017 Makefile | 10 ++++++++++
18 1 file changed, 10 insertions(+)
Andrew Geissler7f40b712020-05-15 14:09:53 -050019
20diff --git a/Makefile b/Makefile
Patrick Williamsb58112e2024-03-07 11:16:36 -060021index 4df5f161..065249c2 100644
Andrew Geissler7f40b712020-05-15 14:09:53 -050022--- a/Makefile
23+++ b/Makefile
Patrick Williamsb58112e2024-03-07 11:16:36 -060024@@ -91,6 +91,16 @@ libmpathpersist libmpathvalid multipath multipathd: libmultipath
Andrew Geissler517393d2023-01-13 08:55:19 -060025 libmultipath/prioritizers libmultipath/checkers libmultipath/foreign: libmultipath
26 mpathpersist multipathd: libmpathpersist
Andrew Geissler7f40b712020-05-15 14:09:53 -050027
28+DEPS_ON_MULTIPATH := \
29+ multipath \
Andrew Geissler7f40b712020-05-15 14:09:53 -050030+ 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 Geissler517393d2023-01-13 08:55:19 -060038 libmultipath/checkers.install \
39 libmultipath/prioritizers.install \
40 libmultipath/foreign.install: libmultipath.install
Andrew Geissler7f40b712020-05-15 14:09:53 -050041--
Patrick Williamsb58112e2024-03-07 11:16:36 -0600422.25.1
Andrew Geissler7f40b712020-05-15 14:09:53 -050043