aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/test/log/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/test/log/Makefile')
-rw-r--r--roms/u-boot/test/log/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/roms/u-boot/test/log/Makefile b/roms/u-boot/test/log/Makefile
new file mode 100644
index 000000000..a3dedace0
--- /dev/null
+++ b/roms/u-boot/test/log/Makefile
@@ -0,0 +1,24 @@
+# SPDX-License-Identifier: GPL-2.0+
+#
+# Copyright (c) 2017 Google, Inc
+
+obj-$(CONFIG_LOG_TEST) += log_test.o
+obj-$(CONFIG_CMD_LOG) += log_filter.o
+
+ifdef CONFIG_UT_LOG
+
+obj-y += log_ut.o
+
+ifdef CONFIG_SANDBOX
+obj-$(CONFIG_LOG_SYSLOG) += syslog_test.o
+obj-$(CONFIG_LOG_SYSLOG) += syslog_test_ndebug.o
+endif
+
+ifdef CONFIG_LOG
+obj-y += pr_cont_test.o
+obj-$(CONFIG_CONSOLE_RECORD) += cont_test.o
+else
+obj-$(CONFIG_CONSOLE_RECORD) += nolog_test.o
+endif
+
+endif # CONFIG_UT_LOG