package/busybox: invert dependency with tftpd
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
0ed60ad566
commit
651a91bdde
|
@ -22,6 +22,7 @@ BUSYBOX_LDFLAGS = \
|
|||
|
||||
# Packages that provide commands that may also be busybox applets:
|
||||
BUSYBOX_DEPENDENCIES = \
|
||||
$(if $(BR2_PACKAGE_TFTPD),tftpd) \
|
||||
$(if $(BR2_PACKAGE_TRACEROUTE),traceroute) \
|
||||
$(if $(BR2_PACKAGE_UNZIP),unzip) \
|
||||
$(if $(BR2_PACKAGE_USBUTILS),usbutils) \
|
||||
|
|
|
@ -9,11 +9,6 @@ TFTPD_SOURCE = tftp-hpa-$(TFTPD_VERSION).tar.xz
|
|||
TFTPD_SITE = $(BR2_KERNEL_MIRROR)/software/network/tftp/tftp-hpa
|
||||
TFTPD_CONF_OPTS = --without-tcpwrappers
|
||||
|
||||
# Override BusyBox implementations if BusyBox is enabled.
|
||||
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
||||
TFTPD_DEPENDENCIES += busybox
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue