Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Simon Glass | 10c08ef | 2012-03-30 21:30:58 +0000 | [diff] [blame] | 2 | # |
| 3 | # (C) Copyright 2012 The Chromium Authors |
Simon Glass | 10c08ef | 2012-03-30 21:30:58 +0000 | [diff] [blame] | 4 | |
Simon Glass | 5722fb2 | 2021-03-07 17:34:47 -0700 | [diff] [blame] | 5 | obj-y += test-main.o |
| 6 | |
Simon Glass | 8dd78a9 | 2020-11-08 21:08:44 -0700 | [diff] [blame] | 7 | ifneq ($(CONFIG_$(SPL_)BLOBLIST),) |
Simon Glass | 9a78e90 | 2020-10-03 09:25:24 -0600 | [diff] [blame] | 8 | obj-$(CONFIG_$(SPL_)CMDLINE) += bloblist.o |
Simon Glass | 07a8886 | 2020-11-05 10:33:38 -0700 | [diff] [blame] | 9 | obj-$(CONFIG_$(SPL_)CMDLINE) += bootm.o |
Heinrich Schuchardt | c38be19 | 2021-01-18 00:17:33 +0100 | [diff] [blame] | 10 | endif |
Simon Glass | 9a78e90 | 2020-10-03 09:25:24 -0600 | [diff] [blame] | 11 | obj-$(CONFIG_$(SPL_)CMDLINE) += cmd/ |
| 12 | obj-$(CONFIG_$(SPL_)CMDLINE) += cmd_ut.o |
| 13 | obj-$(CONFIG_$(SPL_)CMDLINE) += command_ut.o |
Heinrich Schuchardt | 7b3b003 | 2020-10-31 08:59:25 +0100 | [diff] [blame] | 14 | obj-$(CONFIG_$(SPL_)UT_COMPRESSION) += compression.o |
Simon Glass | 85556fb | 2020-10-03 09:25:25 -0600 | [diff] [blame] | 15 | obj-y += dm/ |
Andrew Scull | e184c5b | 2022-05-30 10:00:09 +0000 | [diff] [blame] | 16 | obj-$(CONFIG_FUZZ) += fuzz/ |
Simon Glass | 644d807 | 2022-08-01 07:57:59 -0600 | [diff] [blame] | 17 | ifndef CONFIG_SANDBOX_VPL |
| 18 | obj-$(CONFIG_UNIT_TEST) += lib/ |
| 19 | endif |
Francis Laniel | 2dba91a | 2023-12-22 22:02:21 +0100 | [diff] [blame] | 20 | ifneq ($(CONFIG_HUSH_PARSER),) |
| 21 | obj-$(CONFIG_$(SPL_)CMDLINE) += hush/ |
| 22 | endif |
Simon Glass | 9a78e90 | 2020-10-03 09:25:24 -0600 | [diff] [blame] | 23 | obj-$(CONFIG_$(SPL_)CMDLINE) += print_ut.o |
| 24 | obj-$(CONFIG_$(SPL_)CMDLINE) += str_ut.o |
Joe Hershberger | ee20efe | 2015-05-20 14:27:30 -0500 | [diff] [blame] | 25 | obj-$(CONFIG_UT_TIME) += time_ut.o |
Simon Glass | 85556fb | 2020-10-03 09:25:25 -0600 | [diff] [blame] | 26 | obj-y += ut.o |
Simon Glass | 8ec2933 | 2020-10-03 09:25:26 -0600 | [diff] [blame] | 27 | |
| 28 | ifeq ($(CONFIG_SPL_BUILD),) |
Heinrich Schuchardt | b7ee8d0 | 2023-12-16 16:19:54 +0100 | [diff] [blame] | 29 | obj-y += boot/ |
Steffen Jaeckel | e1788f9 | 2021-07-08 15:57:40 +0200 | [diff] [blame] | 30 | obj-$(CONFIG_UNIT_TEST) += common/ |
Simon Glass | 8ec2933 | 2020-10-03 09:25:26 -0600 | [diff] [blame] | 31 | obj-y += log/ |
| 32 | obj-$(CONFIG_$(SPL_)UT_UNICODE) += unicode_ut.o |
Sean Anderson | dcd91b1 | 2023-10-14 16:47:57 -0400 | [diff] [blame] | 33 | else |
| 34 | obj-$(CONFIG_SPL_UT_LOAD) += image/ |
Simon Glass | 8ec2933 | 2020-10-03 09:25:26 -0600 | [diff] [blame] | 35 | endif |