[PATCH 33/33] Make libdmmp build optional

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Martin Wilck <mwilck@xxxxxxxx>
---
 Makefile     | 6 +++++-
 Makefile.inc | 3 +++
 2 files changed, 8 insertions(+), 1 deletion(-)

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	= ..
-- 
2.11.0

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel



[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux