From patchwork Wed Feb 26 20:48:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 236914 List-Id: U-Boot discussion From: xypron.glpk at gmx.de (Heinrich Schuchardt) Date: Wed, 26 Feb 2020 21:48:15 +0100 Subject: [PATCH v5 1/6] log: correct CONFIG_LOG_TEST prerequisites In-Reply-To: <20200226204820.17376-1-xypron.glpk@gmx.de> References: <20200226204820.17376-1-xypron.glpk@gmx.de> Message-ID: <20200226204820.17376-2-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: Simon Glass Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass --- v5: no change v4: no change --- common/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.0 diff --git a/common/Kconfig b/common/Kconfig index 46e4193fc8..cedd353e89 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -776,7 +776,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