[PATCH 2/3] test/hush: Add CONFIG_CONSOLE_RECORD where required

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Mon Oct 28 22:08:22 CET 2024


On 10/28/24 17:48, Tom Rini wrote:
> The "dollar" tests require CONFIG_CONSOLE_RECORD to be enabled so guard
> with that.
> 
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
>   test/hush/Makefile | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/test/hush/Makefile b/test/hush/Makefile
> index a2d98815e501..4c3a0be857ae 100644
> --- a/test/hush/Makefile
> +++ b/test/hush/Makefile
> @@ -5,6 +5,8 @@
>   
>   obj-y += cmd_ut_hush.o
>   obj-y += if.o
> +ifdef CONFIG_CONSOLE_RECORD
>   obj-y += dollar.o

Or to keep it simpler:

obj-$(CONFIG_CONSOLE_RECORD) += dollar.o

Reviewed-by: Heinrich Schuchardt <xypron.glpk at gmx.de>

> +endif
>   obj-y += list.o
>   obj-y += loop.o



More information about the U-Boot mailing list