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-10-27 23:55:39 +00:00
|
|
|
obj-$(CONFIG_CMD_LOG) += log_filter.o
|
2020-02-26 20:48:18 +00:00
|
|
|
|
|
|
|
ifdef CONFIG_UT_LOG
|
|
|
|
|
2021-03-08 00:35:09 +00:00
|
|
|
obj-y += log_ut.o
|
2020-02-26 20:48:18 +00:00
|
|
|
|
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
|
2021-01-27 11:09:46 +00:00
|
|
|
obj-y += pr_cont_test.o
|
2020-10-17 12:31:59 +00:00
|
|
|
obj-$(CONFIG_CONSOLE_RECORD) += cont_test.o
|
2021-05-08 19:46:53 +00:00
|
|
|
obj-y += pr_cont_test.o
|
2020-10-17 12:31:59 +00:00
|
|
|
else
|
2020-02-26 20:48:18 +00:00
|
|
|
obj-$(CONFIG_CONSOLE_RECORD) += nolog_test.o
|
2021-05-08 19:46:54 +00:00
|
|
|
obj-$(CONFIG_CONSOLE_RECORD) += nolog_ndebug.o
|
2020-02-26 20:48:18 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
endif # CONFIG_UT_LOG
|