Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot]  [PATCH] tftpd: Install TFTP client as well
@ 2014-10-23 11:13 Kelvin Cheung
  2014-10-23 11:24 ` Baruch Siach
  2014-10-23 20:13 ` Thomas Petazzoni
  0 siblings, 2 replies; 4+ messages in thread
From: Kelvin Cheung @ 2014-10-23 11:13 UTC (permalink / raw)
  To: buildroot

This patch installs TFTP client as well and overrides
BusyBox implementations if BusyBox is enabled.

Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com>
---
 package/tftpd/tftpd.mk | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/tftpd/tftpd.mk b/package/tftpd/tftpd.mk
index c8457db..74e7cfa 100644
--- a/package/tftpd/tftpd.mk
+++ b/package/tftpd/tftpd.mk
@@ -13,7 +13,13 @@ ifneq ($(BR2_INET_IPV6),y)
 TFTPD_CONF_OPTS += --without-ipv6
 endif
 
+# Override BusyBox implementations if BusyBox is enabled.
+ifeq ($(BR2_PACKAGE_BUSYBOX),y)
+SYSKLOGD_DEPENDENCIES = busybox
+endif
+
 define TFTPD_INSTALL_TARGET_CMDS
+	$(INSTALL) -D $(@D)/tftp/tftp $(TARGET_DIR)/usr/bin/tftp
 	$(INSTALL) -D $(@D)/tftpd/tftpd $(TARGET_DIR)/usr/sbin/tftpd
 	$(INSTALL) -D package/tftpd/S80tftpd-hpa $(TARGET_DIR)/etc/init.d/
 endef
-- 
1.9.1

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

end of thread, other threads:[~2014-10-24  2:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-23 11:13 [Buildroot] [PATCH] tftpd: Install TFTP client as well Kelvin Cheung
2014-10-23 11:24 ` Baruch Siach
2014-10-23 20:13 ` Thomas Petazzoni
2014-10-24  2:36   ` Kelvin Cheung

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