[PATCH] cmd: Kconfig: Fix submenu for network commands
Jerome Forissier
jerome.forissier at linaro.org
Tue Mar 11 10:52:26 CET 2025
On 3/7/25 16:15, Paul Barker wrote:
> The Kconfig parser seems to get confused by the current if conditions
> following CMD_NET and displays all network command options directly in
> the "Command line interface" menu instead of in a "Network commands"
> submenu.
>
> To help out Kconfig we can simplify the if conditions, so that the
> definition of CMD_NET is followed immediately by an if/endif block that
> contains all network command options. We can also remove nested checks
> for CMD_NET or (NET || NET_LWIP).
>
> Fixes: 98ad145db61a ("net: lwip: add DHCP support and dhcp commmand")
> Signed-off-by: Paul Barker <paul.barker.ct at bp.renesas.com>
> ---
> cmd/Kconfig | 15 ++++-----------
> 1 file changed, 4 insertions(+), 11 deletions(-)
Reviewed-by: Jerome Forissier <jerome.forissier at linaro.org>
Thanks for the cleanup!
--
Jerome
More information about the U-Boot
mailing list