aboutsummaryrefslogtreecommitdiff
path: root/test/cmd/Makefile
diff options
context:
space:
mode:
authorSamuel Dionne-Riel2022-08-18 15:44:04 -0400
committerTom Rini2022-09-02 13:40:42 -0400
commitdc0d17c26a3a03634994c59adb0b657807827183 (patch)
tree991b387d3fcb0fd43082033fc0fc040ea756ef4d /test/cmd/Makefile
parentd88260710b212815ae1f461aec24ad926c668d36 (diff)
cmd: Add pause command
This command is being introduced with the goal of allowing user-friendly "generic use case" U-Boot builds to pause until user input under some situations. The main use case would be when a boot failure happens, to pause until the user has had time to acknowledge the current state. Tested using: make && ./u-boot -v -T -c 'ut lib lib_test_hush_pause' Signed-off-by: Samuel Dionne-Riel <samuel@dionne-riel.com> Cc: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/cmd/Makefile')
-rw-r--r--test/cmd/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/cmd/Makefile b/test/cmd/Makefile
index c331757425e..1bb02d93a23 100644
--- a/test/cmd/Makefile
+++ b/test/cmd/Makefile
@@ -5,6 +5,9 @@
ifdef CONFIG_HUSH_PARSER
obj-$(CONFIG_CONSOLE_RECORD) += test_echo.o
endif
+ifdef CONFIG_CONSOLE_RECORD
+obj-$(CONFIG_CMD_PAUSE) += test_pause.o
+endif
obj-y += mem.o
obj-$(CONFIG_CMD_ADDRMAP) += addrmap.o
obj-$(CONFIG_CMD_FDT) += fdt.o