
Enable networking command only when NET is enabled. And remove selecting NET for CMD_NET
Signed-off-by: Michal Simek michal.simek@xilinx.com ---
There is a huge impact on defconfigs because of select NET. But this change makes sense to do but it just needs to be syncup properly. Do we have a tool for this kind of change?
--- cmd/Kconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/cmd/Kconfig b/cmd/Kconfig index 790c40456de5..aedfd03c68ef 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -970,9 +970,10 @@ endmenu
menu "Network commands"
+if NET + config CMD_NET bool "bootp, tftpboot" - select NET default y help Network commands. @@ -1049,6 +1050,8 @@ config CMD_ETHSW operations such as enabling / disabling a port and viewing/maintaining the filtering database (FDB)
+endif + endmenu
menu "Misc commands"