aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/test/Makefile')
-rw-r--r--roms/u-boot/test/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/roms/u-boot/test/Makefile b/roms/u-boot/test/Makefile
new file mode 100644
index 000000000..a26e915e0
--- /dev/null
+++ b/roms/u-boot/test/Makefile
@@ -0,0 +1,26 @@
+# SPDX-License-Identifier: GPL-2.0+
+#
+# (C) Copyright 2012 The Chromium Authors
+
+obj-y += test-main.o
+obj-$(CONFIG_SANDBOX) += image/
+
+ifneq ($(CONFIG_$(SPL_)BLOBLIST),)
+obj-$(CONFIG_$(SPL_)CMDLINE) += bloblist.o
+obj-$(CONFIG_$(SPL_)CMDLINE) += bootm.o
+endif
+obj-$(CONFIG_$(SPL_)CMDLINE) += cmd/
+obj-$(CONFIG_$(SPL_)CMDLINE) += cmd_ut.o
+obj-$(CONFIG_$(SPL_)CMDLINE) += command_ut.o
+obj-$(CONFIG_$(SPL_)UT_COMPRESSION) += compression.o
+obj-y += dm/
+obj-$(CONFIG_$(SPL_)CMDLINE) += print_ut.o
+obj-$(CONFIG_$(SPL_)CMDLINE) += str_ut.o
+obj-$(CONFIG_UT_TIME) += time_ut.o
+obj-y += ut.o
+
+ifeq ($(CONFIG_SPL_BUILD),)
+obj-$(CONFIG_UNIT_TEST) += lib/
+obj-y += log/
+obj-$(CONFIG_$(SPL_)UT_UNICODE) += unicode_ut.o
+endif