summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-02-26 21:48:15 +0100
committerSimon Glass <sjg@chromium.org>2020-04-16 08:07:57 -0600
commitd1a02f53b3f24dfce488ba244ba4f8809bebe596 (patch)
treec4473c15e851011f7349a0ada523a2470be69fcb /common
parent0544ecbfe92e909dd8ac6795d4399a65d6727d9b (diff)
log: correct CONFIG_LOG_TEST prerequisites
An error undefined reference to `do_log_test' occurs for CONFIG_CMD_LOG=y, CONFIG_LOG_TEST=y, CONGIG_UNIT_TEST=n Make CONFIG_UNIT_TEST a prerequisite. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 3072651082..40da8fa7a3 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -777,7 +777,7 @@ config TPL_LOG_CONSOLE
config LOG_TEST
bool "Provide a test for logging"
- depends on LOG
+ depends on LOG && UNIT_TEST
default y if SANDBOX
help
This enables a 'log test' command to test logging. It is normally