From 0659ca799fe0b8945880fb768364a6e7721b132e Mon Sep 17 00:00:00 2001 From: Kelvin Cheung Date: Thu, 23 Oct 2014 19:13:24 +0800 Subject: [PATCH] tftpd: install TFTP client as well This patch installs TFTP client as well and overrides BusyBox implementations if BusyBox is enabled. [Thomas: fix typo SYSKLOGD_DEPENDENCIES -> TFTPD_DEPENDENCIES noticed by Baruch.] Signed-off-by: Kelvin Cheung Signed-off-by: Thomas Petazzoni --- package/tftpd/tftpd.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/tftpd/tftpd.mk b/package/tftpd/tftpd.mk index c8457db0b4..816a25ec51 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) +TFTPD_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 -- 2.30.2