external/ftpd: move a location of LWIP dependancy to Kconfig
authorsunghan <sh924.chang@samsung.com>
Wed, 6 Sep 2017 14:12:27 +0000 (23:12 +0900)
committersunghan <sh924.chang@samsung.com>
Wed, 6 Sep 2017 14:12:27 +0000 (23:12 +0900)
Even if FTPD config is enabled, it can't be compiled without LWIP config.
So, if LWIP is not enabled, let's block to enable FTPD config.

external/ftpd/Kconfig.protocol
external/ftpd/Make.defs

index e7f5cff..cc68d24 100644 (file)
@@ -6,5 +6,6 @@
 config NETUTILS_FTPD
        bool "FTP server"
        default n
+       depends on NET_LWIP
        ---help---
                Enable support for the FTP server.
index c07f923..6fb087a 100644 (file)
@@ -50,9 +50,7 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_NET_LWIP),y)
 CSRCS          += ftpd.c
-endif
 
 DEPPATH += --dep-path ftpd
 VPATH += :ftpd