blob: fdf529582d6d1c9e8cbd957aca0d327f94b2775b [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
Heinrich Schuchardtf433d502020-02-26 21:48:18 +01006
7ifdef CONFIG_UT_LOG
8
9obj-y += test-main.o
10
Heinrich Schuchardt9a3a7f12020-02-26 21:48:19 +010011ifdef CONFIG_SANDBOX
12obj-$(CONFIG_LOG_SYSLOG) += syslog_test.o
Simon Glass9c83cac2020-09-12 11:13:34 -060013obj-$(CONFIG_LOG_SYSLOG) += syslog_test_ndebug.o
Heinrich Schuchardt9a3a7f12020-02-26 21:48:19 +010014endif
15
Heinrich Schuchardtaf5e6242020-10-17 14:31:59 +020016ifdef CONFIG_LOG
17obj-$(CONFIG_CONSOLE_RECORD) += cont_test.o
18else
Heinrich Schuchardtf433d502020-02-26 21:48:18 +010019obj-$(CONFIG_CONSOLE_RECORD) += nolog_test.o
20endif
21
22endif # CONFIG_UT_LOG