>From 60836c395e0d1a71da573175fde410cc69e67b78 Mon Sep 17 00:00:00 2001
From: Explorer09 <[email protected]>
Date: Sun, 15 Feb 2015 14:50:34 +0800
Subject: [PATCH] CONFIG_FTPD should select FEATURE_LS_TIMESTAMPS

This adds a 'select' line that if ftpd and ls are both enabled, ls
timestamps
feature will always be selected.

Without this line, FEATURE_LS_TIMESTAMPS will still be enabled internally
due
to the macro lines like this in ls.c:
  #if ENABLE_FTPD
  # undef CONFIG_FEATURE_LS_TIMESTAMPS
  ...
  # define CONFIG_FEATURE_LS_TIMESTAMPS 1
  ...
  #endif

I would like to have kconfig handle the dependency and letting it explicit
to
builders.

Signed-off-by: Kang-che Sung <explorer09-at-gmail.com>
---
 networking/Config.src | 1 +
 1 file changed, 1 insertion(+)

diff --git a/networking/Config.src b/networking/Config.src
index da36e86..c1fff92 100644
--- a/networking/Config.src
+++ b/networking/Config.src
@@ -113,6 +113,7 @@ config FAKEIDENTD
 config FTPD
  bool "ftpd"
  default y
+ select FEATURE_LS_TIMESTAMPS if LS
  help
   simple FTP daemon. You have to run it via inetd.

-- 
2.3.0
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to