blob: 9aeef02f9ee891b03aeaa4f8270487ca62b9bd50 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Simon Glassa72007d2012-03-30 21:30:58 +00002#
3# (C) Copyright 2012 The Chromium Authors
Simon Glassa72007d2012-03-30 21:30:58 +00004
Simon Glass1c721752021-03-07 17:34:47 -07005obj-y += test-main.o
6
Simon Glass6ea5df32020-11-08 21:08:44 -07007ifneq ($(CONFIG_$(SPL_)BLOBLIST),)
Simon Glass82c468a2020-10-03 09:25:24 -06008obj-$(CONFIG_$(SPL_)CMDLINE) += bloblist.o
Simon Glassf158ba12020-11-05 10:33:38 -07009obj-$(CONFIG_$(SPL_)CMDLINE) += bootm.o
Heinrich Schuchardtfe158652021-01-18 00:17:33 +010010endif
Simon Glass82c468a2020-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 Schuchardtde429d72020-10-31 08:59:25 +010014obj-$(CONFIG_$(SPL_)UT_COMPRESSION) += compression.o
Simon Glass16a50682020-10-03 09:25:25 -060015obj-y += dm/
Andrew Scull36f641c2022-05-30 10:00:09 +000016obj-$(CONFIG_FUZZ) += fuzz/
Simon Glass29784d62022-08-01 07:57:59 -060017ifndef CONFIG_SANDBOX_VPL
18obj-$(CONFIG_UNIT_TEST) += lib/
19endif
Francis Lanielcb1277c2023-12-22 22:02:21 +010020ifneq ($(CONFIG_HUSH_PARSER),)
21obj-$(CONFIG_$(SPL_)CMDLINE) += hush/
22endif
Simon Glass82c468a2020-10-03 09:25:24 -060023obj-$(CONFIG_$(SPL_)CMDLINE) += print_ut.o
24obj-$(CONFIG_$(SPL_)CMDLINE) += str_ut.o
Joe Hershbergerc812f722015-05-20 14:27:30 -050025obj-$(CONFIG_UT_TIME) += time_ut.o
Simon Glass16a50682020-10-03 09:25:25 -060026obj-y += ut.o
Simon Glass627988f2020-10-03 09:25:26 -060027
28ifeq ($(CONFIG_SPL_BUILD),)
Simon Glass07073d22023-10-01 19:15:15 -060029obj-$(CONFIG_$(SPL_)UT_BOOTSTD) += boot/
Steffen Jaeckel25c8b9f2021-07-08 15:57:40 +020030obj-$(CONFIG_UNIT_TEST) += common/
Simon Glass627988f2020-10-03 09:25:26 -060031obj-y += log/
32obj-$(CONFIG_$(SPL_)UT_UNICODE) += unicode_ut.o
Sean Andersonc56468a62023-10-14 16:47:57 -040033else
34obj-$(CONFIG_SPL_UT_LOAD) += image/
Simon Glass627988f2020-10-03 09:25:26 -060035endif