From: Peter Korsgaard Date: Mon, 14 Nov 2011 11:39:15 +0000 (+0100) Subject: tftpd: fix build without ipv6 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e796a1fd7cda4d93a372a2d89d0fc0e5deb6c7f0;p=buildroot.git tftpd: fix build without ipv6 tftpd's configure script uses a nonstandard --without-ipv6 option to disable ipv6 support. Signed-off-by: Peter Korsgaard --- diff --git a/package/tftpd/tftpd.mk b/package/tftpd/tftpd.mk index 98c3c2a061..728319b27f 100644 --- a/package/tftpd/tftpd.mk +++ b/package/tftpd/tftpd.mk @@ -8,6 +8,10 @@ TFTPD_SOURCE = tftp-hpa-$(TFTPD_VERSION).tar.bz2 TFTPD_SITE = $(BR2_KERNEL_MIRROR)/software/network/tftp/ TFTPD_CONF_OPT = --without-tcpwrappers +ifneq ($(BR2_INET_IPV6),y) +TFTPD_CONF_OPT += --without-ipv6 +endif + define TFTPD_INSTALL_TARGET_CMDS $(INSTALL) -D $(@D)/tftpd/tftpd $(TARGET_DIR)/usr/sbin/tftpd $(INSTALL) -D package/tftpd/S80tftpd-hpa $(TARGET_DIR)/etc/init.d/