- Update indention in hash file (two spaces) - This will fix a static build failure with gcc-10 thanks to https://git.kernel.org/pub/scm/network/tftp/tftp-hpa.git/commit/?id=18ac1e26f756dd47fef33f5f706b0ec8fa696216 Fixes: - http://autobuild.buildroot.org/results/913e8b75422c8beba60df5ea2e2c9e431364566e Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit 8fb6678e0d49330e5495af27a048c0799ba8bb08) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
27 lines
828 B
Makefile
27 lines
828 B
Makefile
################################################################################
|
|
#
|
|
# tftpd
|
|
#
|
|
################################################################################
|
|
|
|
TFTPD_VERSION = b2b34cecc8cbc18ff6f1fc00bda6ae6e9011e6c7
|
|
TFTPD_SITE = git://git.kernel.org/pub/scm/network/tftp/tftp-hpa.git
|
|
TFTPD_CONF_OPTS = --without-tcpwrappers
|
|
TFTPD_LICENSE = BSD-4-Clause
|
|
TFTPD_LICENSE_FILES = tftpd/tftpd.c
|
|
TFTPD_CPE_ID_VENDOR = tftpd-hpa_project
|
|
TFTPD_CPE_ID_PRODUCT = tftpd-hpa
|
|
# From git
|
|
TFTPD_AUTORECONF = YES
|
|
|
|
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
|
|
endef
|
|
|
|
define TFTPD_INSTALL_INIT_SYSV
|
|
$(INSTALL) -D -m 0755 package/tftpd/S80tftpd-hpa $(TARGET_DIR)/etc/init.d/S80tftpd-hpa
|
|
endef
|
|
|
|
$(eval $(autotools-package))
|