blob: afdafa502ac95e63e029415cdd578226fac6f0e2 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Simon Glassef11ed82017-12-04 13:48:27 -07002#
3# Copyright (c) 2017 Google, Inc
Simon Glassef11ed82017-12-04 13:48:27 -07004
5obj-$(CONFIG_LOG_TEST) += log_test.o
Sean Anderson89723b92020-10-27 19:55:39 -04006obj-$(CONFIG_CMD_LOG) += log_filter.o
Heinrich Schuchardt395041b2020-02-26 21:48:18 +01007
8ifdef CONFIG_UT_LOG
9
10obj-y += test-main.o
Heinrich Schuchardtc548a382021-01-04 08:02:56 +010011obj-y += pr_cont_test.o
Heinrich Schuchardt395041b2020-02-26 21:48:18 +010012
Heinrich Schuchardt7b912ed2020-02-26 21:48:19 +010013ifdef CONFIG_SANDBOX
14obj-$(CONFIG_LOG_SYSLOG) += syslog_test.o
Simon Glass52d3df72020-09-12 11:13:34 -060015obj-$(CONFIG_LOG_SYSLOG) += syslog_test_ndebug.o
Heinrich Schuchardt7b912ed2020-02-26 21:48:19 +010016endif
17
Heinrich Schuchardt92015762020-10-17 14:31:59 +020018ifdef CONFIG_LOG
19obj-$(CONFIG_CONSOLE_RECORD) += cont_test.o
20else
Heinrich Schuchardt395041b2020-02-26 21:48:18 +010021obj-$(CONFIG_CONSOLE_RECORD) += nolog_test.o
22endif
23
24endif # CONFIG_UT_LOG