]> git.ipfire.org Git - thirdparty/u-boot.git/blob - test/Makefile
Merge commit '53633a893a06bd5a0c807287d9cc29337806eaf7' as 'dts/upstream'
[thirdparty/u-boot.git] / test / Makefile
1 # SPDX-License-Identifier: GPL-2.0+
2 #
3 # (C) Copyright 2012 The Chromium Authors
4
5 obj-y += test-main.o
6
7 ifneq ($(CONFIG_$(SPL_)BLOBLIST),)
8 obj-$(CONFIG_$(SPL_)CMDLINE) += bloblist.o
9 obj-$(CONFIG_$(SPL_)CMDLINE) += bootm.o
10 endif
11 obj-$(CONFIG_$(SPL_)CMDLINE) += cmd/
12 obj-$(CONFIG_$(SPL_)CMDLINE) += cmd_ut.o
13 obj-$(CONFIG_$(SPL_)CMDLINE) += command_ut.o
14 obj-$(CONFIG_$(SPL_)UT_COMPRESSION) += compression.o
15 obj-y += dm/
16 obj-$(CONFIG_FUZZ) += fuzz/
17 ifndef CONFIG_SANDBOX_VPL
18 obj-$(CONFIG_UNIT_TEST) += lib/
19 endif
20 ifneq ($(CONFIG_HUSH_PARSER),)
21 obj-$(CONFIG_$(SPL_)CMDLINE) += hush/
22 endif
23 obj-$(CONFIG_$(SPL_)CMDLINE) += print_ut.o
24 obj-$(CONFIG_$(SPL_)CMDLINE) += str_ut.o
25 obj-$(CONFIG_UT_TIME) += time_ut.o
26 obj-y += ut.o
27
28 ifeq ($(CONFIG_SPL_BUILD),)
29 obj-y += boot/
30 obj-$(CONFIG_UNIT_TEST) += common/
31 obj-y += log/
32 obj-$(CONFIG_$(SPL_)UT_UNICODE) += unicode_ut.o
33 else
34 obj-$(CONFIG_SPL_UT_LOAD) += image/
35 endif