summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBastian Krause <bst@pengutronix.de>2020-10-21 16:41:48 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2020-10-28 08:41:44 +0100
commitc3e234249e2762478ff140b99717678ed25e512d (patch)
tree24a7f0dbe7f76ec1c574f6348f5232716cdc7325
parentd0277b310c4ac979f8df0601f589ae2b1069625a (diff)
downloadptxdist-c3e234249e2762478ff140b99717678ed25e512d.tar.gz
ptxdist-c3e234249e2762478ff140b99717678ed25e512d.tar.xz
host-nfsutils: new package
This is needed for rpcgen, which is needed during compile time of nfsutils. It may also be installed/used on the target. See: https://marc.info/?t=160327614800002&r=1&w=2 Signed-off-by: Bastian Krause <bst@pengutronix.de> Message-Id: <20201021144149.27886-2-bst@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/host-nfsutils.in6
-rw-r--r--rules/host-nfsutils.make50
2 files changed, 56 insertions, 0 deletions
diff --git a/rules/host-nfsutils.in b/rules/host-nfsutils.in
new file mode 100644
index 000000000..666f5cace
--- /dev/null
+++ b/rules/host-nfsutils.in
@@ -0,0 +1,6 @@
+## SECTION=hosttools_noprompt
+
+config HOST_NFSUTILS
+ tristate
+ select HOST_LIBBLKID
+ default y if ALLYES
diff --git a/rules/host-nfsutils.make b/rules/host-nfsutils.make
new file mode 100644
index 000000000..f76c5d63c
--- /dev/null
+++ b/rules/host-nfsutils.make
@@ -0,0 +1,50 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2020 by Bastian Krause <bst@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_NFSUTILS) += host-nfsutils
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+HOST_NFSUTILS_CONF_TOOL := autoconf
+
+HOST_NFSUTILS_CONF_OPT := \
+ $(HOST_AUTOCONF) \
+ --disable-nfsv4 \
+ --disable-nfsv41 \
+ --disable-gss \
+ --disable-svcgss \
+ --disable-kprefix \
+ --disable-uuid \
+ --disable-mount \
+ --disable-libmount-mount \
+ --disable-junction \
+ --disable-tirpc \
+ --disable-ipv6 \
+ --disable-mountconfig \
+ --disable-nfsdcld \
+ --disable-nfsdcltrack \
+ --disable-caps \
+ $(GLOBAL_LARGE_FILE_OPTION) \
+ --disable-ldap \
+ --disable-gums \
+ --with-rpcgen=internal \
+ --without-mountfile \
+ --without-tcp-wrappers \
+ --without-krb5 \
+ --without-gssglue \
+ --without-systemd
+
+# vim: syntax=make