summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBastian Krause <bst@pengutronix.de>2019-02-08 10:12:18 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-02-13 08:56:45 +0100
commit2d8fe599d1f0ce8336807ecf3e43b9e7e3fe84dc (patch)
treea741851709d7ed6d60886dc3d382ae884bd98ace
parent2477c6fc11f4cc13082edaf5fbe153015e06190b (diff)
downloadptxdist-2d8fe599d1f0ce8336807ecf3e43b9e7e3fe84dc.tar.gz
ptxdist-2d8fe599d1f0ce8336807ecf3e43b9e7e3fe84dc.tar.xz
host-lvm2: new package
ncurses and readline support is not necessary for the host tool version. Signed-off-by: Bastian Krause <bst@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/host-lvm2.in4
-rw-r--r--rules/host-lvm2.make67
2 files changed, 71 insertions, 0 deletions
diff --git a/rules/host-lvm2.in b/rules/host-lvm2.in
new file mode 100644
index 000000000..bfc20aeab
--- /dev/null
+++ b/rules/host-lvm2.in
@@ -0,0 +1,4 @@
+## SECTION=hosttools_noprompt
+
+config HOST_LVM2
+ tristate
diff --git a/rules/host-lvm2.make b/rules/host-lvm2.make
new file mode 100644
index 000000000..a74a992cd
--- /dev/null
+++ b/rules/host-lvm2.make
@@ -0,0 +1,67 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2019 by Bastian Krause <bst@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_LVM2) += host-lvm2
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+HOST_LVM2_CONF_TOOL := autoconf
+# --disable-o_direct leads to compilation error ("device/dev-io.c:537:5: error: label 'opened' used but not defined")
+HOST_LVM2_CONF_OPT := \
+ $(HOST_AUTOCONF) \
+ --disable-static_link \
+ --disable-lvm1_fallback \
+ --disable-thin_check_needs_check \
+ --disable-cache_check_needs_check \
+ --disable-readline \
+ --enable-realtime \
+ --disable-ocf \
+ --disable-cmirrord \
+ --disable-debug \
+ --disable-profiling \
+ --disable-testing \
+ --disable-valgrind-pool \
+ --enable-devmapper \
+ --disable-lvmetad \
+ --disable-lvmpolld \
+ --disable-lvmlockd-sanlock \
+ --disable-lvmlockd-dlm \
+ --disable-use-lvmlockd \
+ --disable-use-lvmetad \
+ --disable-use-lvmpolld \
+ --disable-dmfilemapd \
+ --disable-notify-dbus \
+ --disable-blkid_wiping \
+ --disable-compat \
+ --disable-units-compat \
+ --disable-ioctl \
+ --enable-o_direct \
+ --disable-applib \
+ --disable-cmdlib \
+ --disable-python_bindings \
+ --disable-python2_bindings \
+ --disable-python3_bindings \
+ --disable-pkgconfig \
+ --disable-write_install \
+ --disable-fsadm \
+ --disable-blkdeactivate \
+ --disable-dmeventd \
+ --disable-selinux \
+ --disable-nls
+
+# vim: syntax=make