blob: 47a07d653a9d9a200223524a422e998805fcb61a [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 Glassc46760d2024-09-29 19:49:53 -06007obj-$(CONFIG_$(XPL_)CMDLINE) += cmd/
8obj-$(CONFIG_$(XPL_)CMDLINE) += cmd_ut.o
Simon Glass16a50682020-10-03 09:25:25 -06009obj-y += dm/
Andrew Scull36f641c2022-05-30 10:00:09 +000010obj-$(CONFIG_FUZZ) += fuzz/
Simon Glass29784d62022-08-01 07:57:59 -060011ifndef CONFIG_SANDBOX_VPL
12obj-$(CONFIG_UNIT_TEST) += lib/
13endif
Francis Lanielcb1277c2023-12-22 22:02:21 +010014ifneq ($(CONFIG_HUSH_PARSER),)
Simon Glassc46760d2024-09-29 19:49:53 -060015obj-$(CONFIG_$(XPL_)CMDLINE) += hush/
Francis Lanielcb1277c2023-12-22 22:02:21 +010016endif
Simon Glass16a50682020-10-03 09:25:25 -060017obj-y += ut.o
Simon Glass627988f2020-10-03 09:25:26 -060018
Simon Glass1d6132e2024-09-29 19:49:50 -060019ifeq ($(CONFIG_XPL_BUILD),)
Heinrich Schuchardt6a8a23c2023-12-16 16:19:54 +010020obj-y += boot/
Steffen Jaeckel25c8b9f2021-07-08 15:57:40 +020021obj-$(CONFIG_UNIT_TEST) += common/
Simon Glass627988f2020-10-03 09:25:26 -060022obj-y += log/
Sean Andersonc56468a62023-10-14 16:47:57 -040023else
24obj-$(CONFIG_SPL_UT_LOAD) += image/
Simon Glass627988f2020-10-03 09:25:26 -060025endif