Busybox also provides tftpd binary. Add depends on !BUSYBOX_TFTPD to
avoid a double install of a tftpd binary.

Signed-off-by: Alexander Aring <[email protected]>
---
v2:
 - fix typo misiing -> missing in commit msg
 - add missing ALLYES

 rules/inetutils.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/rules/inetutils.in b/rules/inetutils.in
index 876c298..8335a13 100644
--- a/rules/inetutils.in
+++ b/rules/inetutils.in
@@ -136,11 +136,15 @@ comment "BusyBox' syslogd is selected!"
 menuconfig INETUTILS_TFTPD
        bool
        prompt "tftpd                         "
+       depends on !BUSYBOX_TFTPD || ALLYES
        help
          TFTPD is a ftp daemon to be used for diskless clients. Most 
bootloaders
          use the Trivial File Transfer Protocol to load their OS image. Note:
          There is no authentication!
 
+comment "BusyBox' tftpd is selected!"
+        depends on BUSYBOX_TFTPD
+
 if INETUTILS_TFTPD
 
 config INETUTILS_TFTPD_BASE_DIR
-- 
1.8.5.3


-- 
ptxdist mailing list
[email protected]

Reply via email to