test: CONFIG_UT_BOOTSTD must depend on CONFIG_BOOTSTD

Building sandbox_defconfig with

    CONFIG_BOOTSTD=n
    CONFIG_UT_BOOTSTD=y

leads to an error

    /usr/bin/ld: test/cmd_ut.o:(.data.rel.cmd_ut_sub+0xc0):
    undefined reference to `do_ut_bootstd'

Add the missing dependency.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Heinrich Schuchardt 2023-12-16 16:46:31 +01:00 committed by Tom Rini
parent 64c67b68d1
commit 6e75ae1a39

View file

@ -67,7 +67,7 @@ endif
config UT_BOOTSTD
bool "Unit tests for standard boot"
depends on UNIT_TEST && SANDBOX
depends on UNIT_TEST && BOOTSTD && SANDBOX
default y
config UT_COMPRESSION