From 1acf7ebf501d492c35606e473b2194f793498585 Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Sun, 23 Nov 2025 23:56:59 +0100 Subject: [PATCH] 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 --- test/Kconfig | 1 + test/cmd/Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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