[Buildroot] [PATCH] tftpd: Install TFTP client as well
Baruch Siach
baruch at tkos.co.il
Thu Oct 23 11:24:57 UTC 2014
Hi Kelvin,
On Thu, Oct 23, 2014 at 07:13:24PM +0800, Kelvin Cheung wrote:
> This patch installs TFTP client as well and overrides
> BusyBox implementations if BusyBox is enabled.
>
> Signed-off-by: Kelvin Cheung <keguang.zhang at 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
SYSKLOGD? Are you sure?
baruch
> +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
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
More information about the buildroot
mailing list