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 <b...@pengutronix.de>
---
 rules/host-nfsutils.in   |  6 +++++
 rules/host-nfsutils.make | 50 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)
 create mode 100644 rules/host-nfsutils.in
 create mode 100644 rules/host-nfsutils.make

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 <b...@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
-- 
2.28.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de

Reply via email to