diff mbox series

[v4,01/18] arch: sandbox: add an config SANDBOX_BINMAN

Message ID 20220131145558.6144-2-philippe.reynes@softathome.com
State Superseded
Delegated to: Tom Rini
Headers show
Series image: add a stage pre-load | expand

Commit Message

Philippe REYNES Jan. 31, 2022, 2:55 p.m. UTC
Add an config SANDBOX_BINMAN to enable binman
on sandbox. It is useful for test.

Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
---
 arch/sandbox/Kconfig | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Simon Glass Feb. 4, 2022, 3:24 p.m. UTC | #1
Hi Philippe,

On Mon, 31 Jan 2022 at 07:56, Philippe Reynes
<philippe.reynes@softathome.com> wrote:
>
> Add an config SANDBOX_BINMAN to enable binman
> on sandbox. It is useful for test.
>
> Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
> ---
>  arch/sandbox/Kconfig | 7 +++++++
>  1 file changed, 7 insertions(+)

Instead, could you 'imply' it in the sandbox Kconfig? e.g.

imply BINMAN if TARGET_SANDBOX

>
> diff --git a/arch/sandbox/Kconfig b/arch/sandbox/Kconfig
> index 477c51960d..6d1f36a0e1 100644
> --- a/arch/sandbox/Kconfig
> +++ b/arch/sandbox/Kconfig
> @@ -29,6 +29,13 @@ config SANDBOX_SPL
>         bool "Enable SPL for sandbox"
>         select SUPPORT_SPL
>
> +config SANDBOX_BINMAN
> +       bool "Enable binman"
> +       select BINMAN
> +       help
> +         Enable the support of binman on sandbox.
> +         It may be useful for test.
> +
>  config SYS_CONFIG_NAME
>         default "sandbox_spl" if SANDBOX_SPL
>         default "sandbox" if !SANDBOX_SPL
> --
> 2.17.1
>

Regards,
Simon
diff mbox series

Patch

diff --git a/arch/sandbox/Kconfig b/arch/sandbox/Kconfig
index 477c51960d..6d1f36a0e1 100644
--- a/arch/sandbox/Kconfig
+++ b/arch/sandbox/Kconfig
@@ -29,6 +29,13 @@  config SANDBOX_SPL
 	bool "Enable SPL for sandbox"
 	select SUPPORT_SPL
 
+config SANDBOX_BINMAN
+	bool "Enable binman"
+	select BINMAN
+	help
+	  Enable the support of binman on sandbox.
+	  It may be useful for test.
+
 config SYS_CONFIG_NAME
 	default "sandbox_spl" if SANDBOX_SPL
 	default "sandbox" if !SANDBOX_SPL