blob: 9aeef02f9ee891b03aeaa4f8270487ca62b9bd50 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Simon Glass10c08ef2012-03-30 21:30:58 +00002#
3# (C) Copyright 2012 The Chromium Authors
Simon Glass10c08ef2012-03-30 21:30:58 +00004
Simon Glass5722fb22021-03-07 17:34:47 -07005obj-y += test-main.o
6
Simon Glass8dd78a92020-11-08 21:08:44 -07007ifneq ($(CONFIG_$(SPL_)BLOBLIST),)
Simon Glass9a78e902020-10-03 09:25:24 -06008obj-$(CONFIG_$(SPL_)CMDLINE) += bloblist.o
Simon Glass07a88862020-11-05 10:33:38 -07009obj-$(CONFIG_$(SPL_)CMDLINE) += bootm.o
Heinrich Schuchardtc38be192021-01-18 00:17:33 +010010endif
Simon Glass9a78e902020-10-03 09:25:24 -060011obj-$(CONFIG_$(SPL_)CMDLINE) += cmd/
12obj-$(CONFIG_$(SPL_)CMDLINE) += cmd_ut.o
13obj-$(CONFIG_$(SPL_)CMDLINE) += command_ut.o
Heinrich Schuchardt7b3b0032020-10-31 08:59:25 +010014obj-$(CONFIG_$(SPL_)UT_COMPRESSION) += compression.o
Simon Glass85556fb2020-10-03 09:25:25 -060015obj-y += dm/
Andrew Sculle184c5b2022-05-30 10:00:09 +000016obj-$(CONFIG_FUZZ) += fuzz/
Simon Glass644d8072022-08-01 07:57:59 -060017ifndef CONFIG_SANDBOX_VPL
18obj-$(CONFIG_UNIT_TEST) += lib/
19endif
Francis Laniel2dba91a2023-12-22 22:02:21 +010020ifneq ($(CONFIG_HUSH_PARSER),)
21obj-$(CONFIG_$(SPL_)CMDLINE) += hush/
22endif
Simon Glass9a78e902020-10-03 09:25:24 -060023obj-$(CONFIG_$(SPL_)CMDLINE) += print_ut.o
24obj-$(CONFIG_$(SPL_)CMDLINE) += str_ut.o
Joe Hershbergeree20efe2015-05-20 14:27:30 -050025obj-$(CONFIG_UT_TIME) += time_ut.o
Simon Glass85556fb2020-10-03 09:25:25 -060026obj-y += ut.o
Simon Glass8ec29332020-10-03 09:25:26 -060027
28ifeq ($(CONFIG_SPL_BUILD),)
Simon Glass804aa372023-10-01 19:15:15 -060029obj-$(CONFIG_$(SPL_)UT_BOOTSTD) += boot/
Steffen Jaeckele1788f92021-07-08 15:57:40 +020030obj-$(CONFIG_UNIT_TEST) += common/
Simon Glass8ec29332020-10-03 09:25:26 -060031obj-y += log/
32obj-$(CONFIG_$(SPL_)UT_UNICODE) += unicode_ut.o
Sean Andersondcd91b12023-10-14 16:47:57 -040033else
34obj-$(CONFIG_SPL_UT_LOAD) += image/
Simon Glass8ec29332020-10-03 09:25:26 -060035endif