From patchwork Sat Feb 8 22:17:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 236065 List-Id: U-Boot discussion From: xypron.glpk at gmx.de (Heinrich Schuchardt) Date: Sat, 8 Feb 2020 23:17:05 +0100 Subject: [PATCH 1/1] log: correct CONFIG_LOG_TEST prerequisites Message-ID: <20200208221705.24110-1-xypron.glpk@gmx.de> 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 Reviewed-by: Bin Meng Reviewed-by: Simon Glass --- common/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.24.1 diff --git a/common/Kconfig b/common/Kconfig index 16a67f5f76..5ad23ce2c4 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -782,7 +782,7 @@ config LOG_SYSLOG 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