test: cmd_exit_test depends on CONFIG_HUSH_PARSER

The exit command is not available if CONFIG_HUSH_PARSER=n

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
This commit is contained in:
Heinrich Schuchardt
2025-11-23 23:56:59 +01:00
committed by Tom Rini
parent 728c717268
commit 1acf7ebf50
2 changed files with 2 additions and 1 deletions

View File

@@ -3,6 +3,7 @@ menu "Testing"
config UNIT_TEST
bool "Unit tests"
depends on CMDLINE
imply HEXDUMP
help
Select this to compile in unit tests for various parts of
U-Boot. Test suites will be subcommands of the "ut" command.

View File

@@ -10,7 +10,7 @@ endif
ifdef CONFIG_CONSOLE_RECORD
obj-$(CONFIG_CMD_PAUSE) += test_pause.o
endif
obj-y += exit.o
obj-$(CONFIG_HUSH_PARSER) += exit.o
obj-$(CONFIG_X86) += cpuid.o msr.o
obj-$(CONFIG_CMD_ADDRMAP) += addrmap.o
ifdef CONFIG_CONSOLE_RECORD