mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] inetutils: add support for ping6
@ 2013-07-29 10:43 Alexander Aring
  2013-08-12 16:54 ` Marc Kleine-Budde
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Aring @ 2013-07-29 10:43 UTC (permalink / raw)
  To: ptxdist; +Cc: Alexander Aring

This patch adds support to compile and install the ping6
binary from inetutils package.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
---
 rules/inetutils.in   | 11 +++++++++++
 rules/inetutils.make |  5 +++++
 2 files changed, 16 insertions(+)

diff --git a/rules/inetutils.in b/rules/inetutils.in
index fbc524e..876c298 100644
--- a/rules/inetutils.in
+++ b/rules/inetutils.in
@@ -54,6 +54,17 @@ config INETUTILS_PING
 comment "BusyBox' ping is selected!"
 	depends on BUSYBOX_PING
 
+config INETUTILS_PING6
+	bool
+	depends on !BUSYBOX_PING6 && GLOBAL_IPV6 || ALLYES
+	prompt "ping6"
+	help
+	  Ping is a small tool to check if another host is alive in the network.
+	  This version of ping is for ipv6 networks.
+
+comment "BusyBox' ping6 is selected!"
+	depends on BUSYBOX_PING6
+
 # -----
 
 config INETUTILS_RCP
diff --git a/rules/inetutils.make b/rules/inetutils.make
index 92f5c1a..8fcc1ce 100644
--- a/rules/inetutils.make
+++ b/rules/inetutils.make
@@ -55,6 +55,7 @@ INETUTILS_AUTOCONF := $(CROSS_AUTOCONF_USR) \
 	--disable-ifconfig \
 	--$(call ptx/endis, PTXCONF_INETUTILS_INETD)-inetd \
 	--$(call ptx/endis, PTXCONF_INETUTILS_PING)-ping \
+	--$(call ptx/endis, PTXCONF_INETUTILS_PING6)-ping6 \
 	--$(call ptx/endis, PTXCONF_INETUTILS_RCP)-rcp \
 	--$(call ptx/endis, PTXCONF_INETUTILS_RLOGIND)-rlogind \
 	--$(call ptx/endis, PTXCONF_INETUTILS_RSH)-rsh \
@@ -91,6 +92,10 @@ ifdef PTXCONF_INETUTILS_PING
 	@$(call install_copy, inetutils, 0, 0, 0755, \
 		$(INETUTILS_PKGDIR)/usr/bin/ping, /bin/ping)
 endif
+ifdef PTXCONF_INETUTILS_PING6
+	@$(call install_copy, inetutils, 0, 0, 0755, \
+		$(INETUTILS_PKGDIR)/usr/bin/ping6, /bin/ping6)
+endif
 ifdef PTXCONF_INETUTILS_RCP
 	@$(call install_copy, inetutils, 0, 0, 0755, -, /usr/bin/rcp)
 endif
-- 
1.8.3.3


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-12 16:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-29 10:43 [ptxdist] [PATCH] inetutils: add support for ping6 Alexander Aring
2013-08-12 16:54 ` Marc Kleine-Budde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox