From 7d47ed07642e0cc876735ad0c0e6ba49dc848e03 Mon Sep 17 00:00:00 2001 From: sunghan Date: Wed, 6 Sep 2017 23:12:27 +0900 Subject: [PATCH] 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. --- external/ftpd/Kconfig.protocol | 1 + external/ftpd/Make.defs | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) 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 -- 2.7.4