2018-05-06 21:58:06 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2017-12-04 20:48:27 +00:00
|
|
|
#
|
|
|
|
# Copyright (c) 2017 Google, Inc
|
|
|
|
|
|
|
|
obj-$(CONFIG_LOG_TEST) += log_test.o
|
2020-02-26 20:48:18 +00:00
|
|
|
|
|
|
|
ifdef CONFIG_UT_LOG
|
|
|
|
|
|
|
|
obj-y += test-main.o
|
|
|
|
|
2020-02-26 20:48:19 +00:00
|
|
|
ifdef CONFIG_SANDBOX
|
|
|
|
obj-$(CONFIG_LOG_SYSLOG) += syslog_test.o
|
2020-09-12 17:13:34 +00:00
|
|
|
obj-$(CONFIG_LOG_SYSLOG) += syslog_test_ndebug.o
|
2020-02-26 20:48:19 +00:00
|
|
|
endif
|
|
|
|
|
2020-10-17 12:31:59 +00:00
|
|
|
ifdef CONFIG_LOG
|
|
|
|
obj-$(CONFIG_CONSOLE_RECORD) += cont_test.o
|
|
|
|
else
|
2020-02-26 20:48:18 +00:00
|
|
|
obj-$(CONFIG_CONSOLE_RECORD) += nolog_test.o
|
|
|
|
endif
|
|
|
|
|
|
|
|
endif # CONFIG_UT_LOG
|