Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Simon Glass | ef11ed8 | 2017-12-04 13:48:27 -0700 | [diff] [blame] | 2 | # |
| 3 | # Copyright (c) 2017 Google, Inc |
Simon Glass | ef11ed8 | 2017-12-04 13:48:27 -0700 | [diff] [blame] | 4 | |
| 5 | obj-$(CONFIG_LOG_TEST) += log_test.o |
Sean Anderson | 89723b9 | 2020-10-27 19:55:39 -0400 | [diff] [blame] | 6 | obj-$(CONFIG_CMD_LOG) += log_filter.o |
Heinrich Schuchardt | 395041b | 2020-02-26 21:48:18 +0100 | [diff] [blame] | 7 | |
| 8 | ifdef CONFIG_UT_LOG |
| 9 | |
| 10 | obj-y += test-main.o |
| 11 | |
Heinrich Schuchardt | 7b912ed | 2020-02-26 21:48:19 +0100 | [diff] [blame] | 12 | ifdef CONFIG_SANDBOX |
| 13 | obj-$(CONFIG_LOG_SYSLOG) += syslog_test.o |
Simon Glass | 52d3df7 | 2020-09-12 11:13:34 -0600 | [diff] [blame] | 14 | obj-$(CONFIG_LOG_SYSLOG) += syslog_test_ndebug.o |
Heinrich Schuchardt | 7b912ed | 2020-02-26 21:48:19 +0100 | [diff] [blame] | 15 | endif |
| 16 | |
Heinrich Schuchardt | 9201576 | 2020-10-17 14:31:59 +0200 | [diff] [blame] | 17 | ifdef CONFIG_LOG |
Heinrich Schuchardt | 34d7f72 | 2021-01-27 12:09:46 +0100 | [diff] [blame] | 18 | obj-y += pr_cont_test.o |
Heinrich Schuchardt | 9201576 | 2020-10-17 14:31:59 +0200 | [diff] [blame] | 19 | obj-$(CONFIG_CONSOLE_RECORD) += cont_test.o |
| 20 | else |
Heinrich Schuchardt | 395041b | 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 |