blob: 08eea70e3446ad3d7f42335d82663e2207783b8f [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Simon Glass14c8a062017-12-04 13:48:27 -07002#
3# Copyright (c) 2017 Google, Inc
Simon Glass14c8a062017-12-04 13:48:27 -07004
5obj-$(CONFIG_LOG_TEST) += log_test.o
Sean Andersoncf1ddf42020-10-27 19:55:39 -04006obj-$(CONFIG_CMD_LOG) += log_filter.o
Heinrich Schuchardtf433d502020-02-26 21:48:18 +01007
8ifdef CONFIG_UT_LOG
9
Simon Glass11abb2b2021-03-07 17:35:09 -070010obj-y += log_ut.o
Heinrich Schuchardtf433d502020-02-26 21:48:18 +010011
Heinrich Schuchardt9a3a7f12020-02-26 21:48:19 +010012ifdef CONFIG_SANDBOX
13obj-$(CONFIG_LOG_SYSLOG) += syslog_test.o
Simon Glass9c83cac2020-09-12 11:13:34 -060014obj-$(CONFIG_LOG_SYSLOG) += syslog_test_ndebug.o
Heinrich Schuchardt9a3a7f12020-02-26 21:48:19 +010015endif
16
Heinrich Schuchardtaf5e6242020-10-17 14:31:59 +020017ifdef CONFIG_LOG
Heinrich Schuchardtf3128e32021-01-27 12:09:46 +010018obj-y += pr_cont_test.o
Heinrich Schuchardtaf5e6242020-10-17 14:31:59 +020019obj-$(CONFIG_CONSOLE_RECORD) += cont_test.o
Simon Glass27867072021-05-08 13:46:53 -060020obj-y += pr_cont_test.o
Heinrich Schuchardtaf5e6242020-10-17 14:31:59 +020021else
Heinrich Schuchardtf433d502020-02-26 21:48:18 +010022obj-$(CONFIG_CONSOLE_RECORD) += nolog_test.o
Simon Glass8eaaedb2021-05-08 13:46:54 -060023obj-$(CONFIG_CONSOLE_RECORD) += nolog_ndebug.o
Heinrich Schuchardtf433d502020-02-26 21:48:18 +010024endif
25
26endif # CONFIG_UT_LOG