From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heinrich Schuchardt Date: Mon, 17 Feb 2020 07:43:09 +0100 Subject: [PATCH v4 1/6] log: correct CONFIG_LOG_TEST prerequisites In-Reply-To: <20200217064314.67584-1-xypron.glpk@gmx.de> References: <20200217064314.67584-1-xypron.glpk@gmx.de> Message-ID: <20200217064314.67584-2-xypron.glpk@gmx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.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 --- v4: no change --- common/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/Kconfig b/common/Kconfig index 4bc3df4e1b..cfeb6ea648 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -775,7 +775,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 -- 2.25.0