]> git.baikalelectronics.ru Git - uboot.git/commit
sandbox: log: Avoid build error with !CONFIG_LOG
authorSimon Glass <sjg@chromium.org>
Sat, 8 May 2021 19:46:53 +0000 (13:46 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 8 Jun 2021 15:39:09 +0000 (11:39 -0400)
commit17940b453c5e10bb048f1a9ad656da5aaf8645d3
treedc2cf22474f2001685389a84941ebd67c33bc717
parentea2827035d1d1314c18abece6d18f4d8bf228f89
sandbox: log: Avoid build error with !CONFIG_LOG

The pr_cont_test.c test requires CONFIG_LOG since it directly accesses
fields in global_data that require it. Move the test into the CONFIG_LOG
condition to avoid build errors.

Enable CONFIG_LOG on sandbox (not sandbox_spl, etc.) so that we still run
this test. This requires resyncing of the configs.

Signed-off-by: Simon Glass <sjg@chromium.org>
configs/sandbox_defconfig
test/log/Makefile