mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
tftpd: fix build without ipv6
tftpd's configure script uses a nonstandard --without-ipv6 option to disable ipv6 support. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
@@ -8,6 +8,10 @@ TFTPD_SOURCE = tftp-hpa-$(TFTPD_VERSION).tar.bz2
|
|||||||
TFTPD_SITE = $(BR2_KERNEL_MIRROR)/software/network/tftp/
|
TFTPD_SITE = $(BR2_KERNEL_MIRROR)/software/network/tftp/
|
||||||
TFTPD_CONF_OPT = --without-tcpwrappers
|
TFTPD_CONF_OPT = --without-tcpwrappers
|
||||||
|
|
||||||
|
ifneq ($(BR2_INET_IPV6),y)
|
||||||
|
TFTPD_CONF_OPT += --without-ipv6
|
||||||
|
endif
|
||||||
|
|
||||||
define TFTPD_INSTALL_TARGET_CMDS
|
define TFTPD_INSTALL_TARGET_CMDS
|
||||||
$(INSTALL) -D $(@D)/tftpd/tftpd $(TARGET_DIR)/usr/sbin/tftpd
|
$(INSTALL) -D $(@D)/tftpd/tftpd $(TARGET_DIR)/usr/sbin/tftpd
|
||||||
$(INSTALL) -D package/tftpd/S80tftpd-hpa $(TARGET_DIR)/etc/init.d/
|
$(INSTALL) -D package/tftpd/S80tftpd-hpa $(TARGET_DIR)/etc/init.d/
|
||||||
|
|||||||
Reference in New Issue
Block a user