|
@@ -13,7 +13,13 @@ ifneq ($(BR2_INET_IPV6),y)
|
|
TFTPD_CONF_OPTS += --without-ipv6
|
|
TFTPD_CONF_OPTS += --without-ipv6
|
|
endif
|
|
endif
|
|
|
|
|
|
|
|
+# Override BusyBox implementations if BusyBox is enabled.
|
|
|
|
+ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
|
|
|
+TFTPD_DEPENDENCIES += busybox
|
|
|
|
+endif
|
|
|
|
+
|
|
define TFTPD_INSTALL_TARGET_CMDS
|
|
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 $(@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/
|
|
endef
|
|
endef
|