On Sun, Sep 24, 2023 at 11:40 PM Simon Glass <[email protected]> wrote: > > At present it isn't possible to use networking without the command line > enabled. Add this as a condition. > > Signed-off-by: Simon Glass <[email protected]> > --- > > cmd/Kconfig | 1 + > net/Kconfig | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/cmd/Kconfig b/cmd/Kconfig > index 5f6834b335dc..c3428d19f31d 100644 > --- a/cmd/Kconfig > +++ b/cmd/Kconfig > @@ -1687,6 +1687,7 @@ if NET > > menuconfig CMD_NET > bool "Network commands" > + depends on CMDLINE > default y > imply NETDEVICES > > diff --git a/net/Kconfig b/net/Kconfig > index 4215889127c9..25d494e1db46 100644 > --- a/net/Kconfig > +++ b/net/Kconfig > @@ -4,6 +4,7 @@ > > menuconfig NET > bool "Networking support" > + depends on CMDLINE > default y > > if NET > -- > 2.42.0.515.g380fc7ccd1-goog > Reviewed-by: Ramon Fried <[email protected]>
- [PATCH 09/25] cli: Always build cli_getch Simon Glass
- [PATCH 10/25] cmd: Use an #ifdef around run_commandf() Simon Glass
- [PATCH 11/25] Move bootmenu_conv_key() into its own file Simon Glass
- [PATCH 12/25] armffa: Correct command help condition Simon Glass
- [PATCH 13/25] pxe: Depend on CMDLINE Simon Glass
- [PATCH 14/25] env: Split out non-command code into a new file Simon Glass
- [PATCH 15/25] console: Move SYS_PBSIZE into common/ Simon Glass
- [PATCH 16/25] bootm: Allow building when cleanup functions are... Simon Glass
- [PATCH 17/25] fdt: Move working_fdt into fdt_support Simon Glass
- [PATCH 18/25] net: Depend on CONFIG_CMDLINE Simon Glass
- Re: [PATCH 18/25] net: Depend on CONFIG_CMDLINE Ramon Fried
- [PATCH 19/25] log: Allow use without CONFIG_CMDLINE Simon Glass
- [PATCH 20/25] video: Allow use without CONFIG_CMDLINE Simon Glass
- [PATCH 21/25] video: Dont require the font command Simon Glass
- [PATCH 22/25] efi: Depend on CMDLINE for efi_loader Simon Glass
- [PATCH 23/25] cmd: Make all commands depend on CMDLINE Simon Glass
- [PATCH 24/25] sandbox: Avoid requiring cmdline Simon Glass
- [PATCH 25/25] sandbox: Add a test for disabling CONFIG_CMDLINE Simon Glass
- Re: [PATCH 00/25] Tidy up use of CONFIG_CMDLINE Tom Rini
- Re: [PATCH 00/25] Tidy up use of CONFIG_CMDLINE Simon Glass

