[PATCH v2 06/27] cmd: Add a few more dependencies on CMDLINE

Tom Rini trini at konsulko.com
Mon Oct 9 16:36:02 CEST 2023


On Sat, Oct 07, 2023 at 05:12:25PM -0600, Simon Glass wrote:
> Add this to some more commands to avoid build errors with sandbox.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
> 
> (no changes since v1)
> 
>  cmd/Kconfig | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/cmd/Kconfig b/cmd/Kconfig
> index 6470b138d2f8..f914da6fe1ac 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -224,6 +224,7 @@ menu "Boot commands"
>  
>  config CMD_BOOTD
>  	bool "bootd"
> +	depends on CMDLINE
>  	default y
>  	help
>  	  Run the command stored in the environment "bootcmd", i.e.

This is the wrong direction.  cmd/Kconfig needs to be re-organized to
have a menu for the hush options, and then all of the commands should
bee under a main commands menu that depends on CMDLINE.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20231009/ad2b72d9/attachment.sig>


More information about the U-Boot mailing list