Message ID | 20170228162329.14517-34-mwilck@suse.com (mailing list archive) |
---|---|
State | Superseded, archived |
Delegated to: | Mike Snitzer |
Headers | show |
diff --git a/Makefile b/Makefile index 9f8bf775..cfee0d07 100644 --- a/Makefile +++ b/Makefile @@ -30,12 +30,16 @@ BUILDDIRS = \ libmultipath/prioritizers \ libmultipath/checkers \ libmpathpersist \ - libdmmp \ multipath \ multipathd \ mpathpersist \ kpartx +ifneq ($(ENABLE_LIBDMMP),0) +BUILDDIRS += \ + libdmmp +endif + all: recurse recurse: diff --git a/Makefile.inc b/Makefile.inc index b5e910f9..740081e3 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -11,6 +11,9 @@ # # Uncomment to disable RADOS support (e.g. if rados headers are missing). # ENABLE_RADOS = 0 +# +# Uncomment to disable libdmmp support +# ENABLE_LIBDMMP = 0 ifeq ($(TOPDIR),) TOPDIR = ..
Signed-off-by: Martin Wilck <mwilck@suse.com> --- Makefile | 6 +++++- Makefile.inc | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-)