NSH Configuration: Refactor networking and netutils dependencies
This commit is contained in:
parent
bc40513eb2
commit
e0156d95a1
@ -754,4 +754,7 @@
|
|||||||
* apps/examples/mount/Kconfig: Fill in empty Kconfig file (2013-12-31).
|
* apps/examples/mount/Kconfig: Fill in empty Kconfig file (2013-12-31).
|
||||||
* builtin/Makefile: Fixes for native Windows build from Max Holtzberg
|
* builtin/Makefile: Fixes for native Windows build from Max Holtzberg
|
||||||
(2014-1-4).
|
(2014-1-4).
|
||||||
|
* apps/netutils/dhcpc/Kconfig, resolv/Kconfig, telnetd/Kconfig, and
|
||||||
|
apps/nshlib/Kconfig: Refactor some configuration dependencies: NSH
|
||||||
|
features should debug on netutil selections; netutil selections
|
||||||
|
should depend on networking selections. (2014-1-9).
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
config NETUTILS_DHCPC
|
config NETUTILS_DHCPC
|
||||||
bool "DHCP client"
|
bool "DHCP client"
|
||||||
default n
|
default n
|
||||||
|
depends on NET && NET_UDP && NET_BROADCAST
|
||||||
---help---
|
---help---
|
||||||
Enable support for the DHCP client.
|
Enable support for the DHCP client.
|
||||||
|
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
config NETUTILS_RESOLV
|
config NETUTILS_RESOLV
|
||||||
bool "Name resolution"
|
bool "Name resolution"
|
||||||
default n
|
default n
|
||||||
|
depends on NET && NET_UDP && NET_BROADCAST
|
||||||
---help---
|
---help---
|
||||||
Enable support for the name resolution.
|
Enable support for the name resolution.
|
||||||
|
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
config NETUTILS_TELNETD
|
config NETUTILS_TELNETD
|
||||||
bool "Telet daemon"
|
bool "Telet daemon"
|
||||||
default n
|
default n
|
||||||
|
depends on NET && NET_TCP
|
||||||
---help---
|
---help---
|
||||||
Enable support for the Telnet daemon.
|
Enable support for the Telnet daemon.
|
||||||
|
|
||||||
|
@ -558,7 +558,7 @@ config NSH_ARCHINIT
|
|||||||
config NSH_TELNET
|
config NSH_TELNET
|
||||||
bool "Use Telnet console"
|
bool "Use Telnet console"
|
||||||
default n
|
default n
|
||||||
depends on NET && NET_TCP
|
depends on NETUTILS_TELNETD
|
||||||
---help---
|
---help---
|
||||||
If NSH_TELNET is set to 'y', then a TELENET
|
If NSH_TELNET is set to 'y', then a TELENET
|
||||||
server front-end is selected. When this option is provided,
|
server front-end is selected. When this option is provided,
|
||||||
@ -568,6 +568,7 @@ config NSH_TELNET
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
if NSH_TELNET
|
if NSH_TELNET
|
||||||
|
|
||||||
config NSH_TELNETD_PORT
|
config NSH_TELNETD_PORT
|
||||||
int "Telnet port number"
|
int "Telnet port number"
|
||||||
default 23
|
default 23
|
||||||
@ -639,7 +640,7 @@ endif
|
|||||||
config NSH_DHCPC
|
config NSH_DHCPC
|
||||||
bool "Use DHCP to get IP address"
|
bool "Use DHCP to get IP address"
|
||||||
default n
|
default n
|
||||||
depends on NSH_LIBRARY && NET && NET_UDP && NET_BROADCAST
|
depends on NSH_LIBRARY && NETUTILS_DHCPC
|
||||||
---help---
|
---help---
|
||||||
Obtain the IP address via DHCP.
|
Obtain the IP address via DHCP.
|
||||||
|
|
||||||
@ -674,7 +675,7 @@ config NSH_NETMASK
|
|||||||
config NSH_DNS
|
config NSH_DNS
|
||||||
bool "Use DNS"
|
bool "Use DNS"
|
||||||
default n
|
default n
|
||||||
depends on NSH_LIBRARY && NET && NET_UDP && NET_BROADCAST
|
depends on NSH_LIBRARY && NETUTILS_RESOLV
|
||||||
---help---
|
---help---
|
||||||
Configure to use a DNS.
|
Configure to use a DNS.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user