From: sunghan Date: Wed, 6 Sep 2017 14:12:27 +0000 (+0900) Subject: external/ftpd: move a location of LWIP dependancy to Kconfig X-Git-Tag: 1.1_Public_Release~259^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7d47ed07642e0cc876735ad0c0e6ba49dc848e03;p=rtos%2Ftinyara.git external/ftpd: move a location of LWIP dependancy to Kconfig 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. --- diff --git a/external/ftpd/Kconfig.protocol b/external/ftpd/Kconfig.protocol index e7f5cff..cc68d24 100644 --- a/external/ftpd/Kconfig.protocol +++ b/external/ftpd/Kconfig.protocol @@ -6,5 +6,6 @@ config NETUTILS_FTPD bool "FTP server" default n + depends on NET_LWIP ---help--- Enable support for the FTP server. diff --git a/external/ftpd/Make.defs b/external/ftpd/Make.defs index c07f923..6fb087a 100644 --- a/external/ftpd/Make.defs +++ b/external/ftpd/Make.defs @@ -50,9 +50,7 @@ # ############################################################################ -ifeq ($(CONFIG_NET_LWIP),y) CSRCS += ftpd.c -endif DEPPATH += --dep-path ftpd VPATH += :ftpd