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