Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Simon Glass | 14c8a06 | 2017-12-04 13:48:27 -0700 | [diff] [blame] | 2 | # |
| 3 | # Copyright (c) 2017 Google, Inc |
Simon Glass | 14c8a06 | 2017-12-04 13:48:27 -0700 | [diff] [blame] | 4 | |
| 5 | obj-$(CONFIG_LOG_TEST) += log_test.o |
Sean Anderson | cf1ddf4 | 2020-10-27 19:55:39 -0400 | [diff] [blame] | 6 | obj-$(CONFIG_CMD_LOG) += log_filter.o |
Heinrich Schuchardt | f433d50 | 2020-02-26 21:48:18 +0100 | [diff] [blame] | 7 | |
| 8 | ifdef CONFIG_UT_LOG |
| 9 | |
Simon Glass | 11abb2b | 2021-03-07 17:35:09 -0700 | [diff] [blame] | 10 | obj-y += log_ut.o |
Heinrich Schuchardt | f433d50 | 2020-02-26 21:48:18 +0100 | [diff] [blame] | 11 | |
Heinrich Schuchardt | 9a3a7f1 | 2020-02-26 21:48:19 +0100 | [diff] [blame] | 12 | ifdef CONFIG_SANDBOX |
| 13 | obj-$(CONFIG_LOG_SYSLOG) += syslog_test.o |
Simon Glass | 9c83cac | 2020-09-12 11:13:34 -0600 | [diff] [blame] | 14 | obj-$(CONFIG_LOG_SYSLOG) += syslog_test_ndebug.o |
Heinrich Schuchardt | 9a3a7f1 | 2020-02-26 21:48:19 +0100 | [diff] [blame] | 15 | endif |
| 16 | |
Heinrich Schuchardt | af5e624 | 2020-10-17 14:31:59 +0200 | [diff] [blame] | 17 | ifdef CONFIG_LOG |
Heinrich Schuchardt | f3128e3 | 2021-01-27 12:09:46 +0100 | [diff] [blame] | 18 | obj-y += pr_cont_test.o |
Heinrich Schuchardt | af5e624 | 2020-10-17 14:31:59 +0200 | [diff] [blame] | 19 | obj-$(CONFIG_CONSOLE_RECORD) += cont_test.o |
| 20 | else |
Heinrich Schuchardt | f433d50 | 2020-02-26 21:48:18 +0100 | [diff] [blame] | 21 | obj-$(CONFIG_CONSOLE_RECORD) += nolog_test.o |
| 22 | endif |
| 23 | |
| 24 | endif # CONFIG_UT_LOG |