]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
test: cmd_exit_test depends on CONFIG_HUSH_PARSER
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 23 Nov 2025 22:56:59 +0000 (23:56 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 5 Dec 2025 14:54:44 +0000 (08:54 -0600)
The exit command is not available if CONFIG_HUSH_PARSER=n

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
test/Kconfig
test/cmd/Makefile

index 77e7cad3984f44457b3ac82b794f76a0f492aeed..6a4a5fc670826690f4d42be3a3817948b3ce793a 100644 (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.
index 841763fec023d19a239f6057ad5c095b0a73d529..d7ff11e458adc5c9ba50a3a294ceb973a0181b11 100644 (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