From 698361847e6fae321bc277a5fc518b2bd55751b8 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Sun, 10 May 2020 21:22:53 +0800 Subject: [PATCH] fix bug of do_compile and do_install when multiple processes make run in parallel, because of dependency error will occur. Signed-off-by: Wang Mingyu [OP: Rebase to 0.9.3] [OP: Drop dependencies that are already present in the 0.9.3 Makefile] Signed-off-by: Ovidiu Panait Upstream-Status: Pending --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Makefile b/Makefile index f06f7faa..690dc050 100644 --- a/Makefile +++ b/Makefile @@ -94,6 +94,16 @@ libmpathpersist libmpathvalid multipath multipathd: libmultipath libmultipath/prioritizers libmultipath/checkers libmultipath/foreign: libmultipath mpathpersist multipathd: libmpathpersist +DEPS_ON_MULTIPATH := \ + multipath \ + multipathd \ + mpathpersist \ + libmpathpersist + +$(DEPS_ON_MULTIPATH:=.install): libmultipath.install +mpathpersist.install: libmpathpersist.install +libdmmp.install libmultipath/foreign.install: mpathpersist.install + libmultipath/checkers.install \ libmultipath/prioritizers.install \ libmultipath/foreign.install: libmultipath.install -- 2.25.1