From: Heinrich Schuchardt Date: Sun, 23 Nov 2025 22:56:59 +0000 (+0100) Subject: test: cmd_exit_test depends on CONFIG_HUSH_PARSER X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1acf7ebf501d492c35606e473b2194f793498585;p=thirdparty%2Fu-boot.git 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 --- diff --git a/test/Kconfig b/test/Kconfig index 77e7cad3984..6a4a5fc6708 100644 --- a/test/Kconfig +++ b/test/Kconfig @@ -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. diff --git a/test/cmd/Makefile b/test/cmd/Makefile index 841763fec02..d7ff11e458a 100644 --- a/test/cmd/Makefile +++ b/test/cmd/Makefile @@ -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