[lwIP] update Kconfig for DHCP/PPP
@@ -55,10 +55,6 @@ config RT_USING_LWIP
config IP_SOF_BROADCAST_RECV
int "SOF broadcast recv"
default 1
-
- config LWIP_USING_DHCPD
- bool "Enable DHCP server"
- default n
endif
menu "Static IPv4 Address"
@@ -91,6 +87,7 @@ config RT_USING_LWIP
bool "PPP protocol"
default n
+ if RT_LWIP_PPP
config RT_LWIP_PPPOE
bool "PPPoE protocol"
default n
@@ -98,6 +95,7 @@ config RT_USING_LWIP
config RT_LWIP_PPPOS
bool "PPPoS protocol"
default n
+ endif
config RT_LWIP_PBUF_NUM
int "the number of PBUF"
@@ -183,6 +181,11 @@ endmenu
source "$RTT_DIR/components/net/freemodbus/Kconfig"
if RT_USING_LWIP
+
+config LWIP_USING_DHCPD
+ bool "Enable DHCP server"
+ default n
+
config RT_USING_NETUTILS
bool "Enable net utils"
default n
