From f4449038f68578be553cc120360344f0d72b7a0a Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Wed, 8 Nov 2023 19:12:25 -0500 Subject: [PATCH] net: Make NET imply NETDEVICES Normally, when NET is enabled, CMD_NET will then be enabled and in turn NETDEVICES will (likely) be enabled via imply. However, if we disable CMDLINE in a defconfig we now no longer get CMD_NET enabling NETDEVICES for us. This suggestion (as an imply is) really isn't about the network commands but network itself and is a legacy of how intertwined NET/CMD_NET were historically. Move this over to the NET entry instead where it is a more logical fit. Reported-by: Simon Glass Signed-off-by: Tom Rini Reviewed-by: Simon Glass Tested-by: Simon Glass --- cmd/Kconfig | 1 - net/Kconfig | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/Kconfig b/cmd/Kconfig index 6f636155e5..9ebea76c2c 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1681,7 +1681,6 @@ if NET menuconfig CMD_NET bool "Network commands" default y - imply NETDEVICES if CMD_NET diff --git a/net/Kconfig b/net/Kconfig index 4215889127..8c80b3a6c6 100644 --- a/net/Kconfig +++ b/net/Kconfig @@ -5,6 +5,7 @@ menuconfig NET bool "Networking support" default y + imply NETDEVICES if NET -- 2.39.5