From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sat, 30 Jan 2021 14:21:52 -0500 Subject: [PATCH 1/1] test: pr_cont_test.o depends on CONFIG_LOG=y In-Reply-To: <20210127110946.53745-1-xypron.glpk@gmx.de> References: <20210127110946.53745-1-xypron.glpk@gmx.de> Message-ID: <20210130192152.GR7530@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Jan 27, 2021 at 12:09:46PM +0100, Heinrich Schuchardt wrote: > Compiling wandboard_defconfig with CONFIG_UT_LOG=y leads to a build error: > > test/log/pr_cont_test.c: In function ?log_test_pr_cont?: > test/log/pr_cont_test.c:28:14: error: > ?gd_t? {aka ?volatile struct global_data?} has no member named ?log_fmt? > ?log_fmt = gd->log_fmt; > > We do not want to let CONFIG_UT_LOG depend on CONFIG_LOG=y because we have > tests for logging functions called with CONFIG_LOG=n. > > Fix the build dependency. > > Reported-by: Kever Yang > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: