diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-02-26 21:48:15 +0100 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-04-16 08:07:57 -0600 |
commit | d1a02f53b3f24dfce488ba244ba4f8809bebe596 (patch) | |
tree | c4473c15e851011f7349a0ada523a2470be69fcb /common | |
parent | 0544ecbfe92e909dd8ac6795d4399a65d6727d9b (diff) | |
download | u-boot-d1a02f53b3f24dfce488ba244ba4f8809bebe596.tar.gz |
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/Kconfig | 2 |
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 |