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 |
Heinrich Schuchardt | f433d50 | 2020-02-26 21:48:18 +0100 | [diff] [blame] | 6 | |
| 7 | ifdef CONFIG_UT_LOG |
| 8 | |
| 9 | obj-y += test-main.o |
| 10 | |
Heinrich Schuchardt | 9a3a7f1 | 2020-02-26 21:48:19 +0100 | [diff] [blame] | 11 | ifdef CONFIG_SANDBOX |
| 12 | obj-$(CONFIG_LOG_SYSLOG) += syslog_test.o |
Simon Glass | 9c83cac | 2020-09-12 11:13:34 -0600 | [diff] [blame] | 13 | obj-$(CONFIG_LOG_SYSLOG) += syslog_test_ndebug.o |
Heinrich Schuchardt | 9a3a7f1 | 2020-02-26 21:48:19 +0100 | [diff] [blame] | 14 | endif |
| 15 | |
Heinrich Schuchardt | af5e624 | 2020-10-17 14:31:59 +0200 | [diff] [blame^] | 16 | ifdef CONFIG_LOG |
| 17 | obj-$(CONFIG_CONSOLE_RECORD) += cont_test.o |
| 18 | else |
Heinrich Schuchardt | f433d50 | 2020-02-26 21:48:18 +0100 | [diff] [blame] | 19 | obj-$(CONFIG_CONSOLE_RECORD) += nolog_test.o |
| 20 | endif |
| 21 | |
| 22 | endif # CONFIG_UT_LOG |