Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Simon Glass | a72007d | 2012-03-30 21:30:58 +0000 | [diff] [blame] | 2 | # |
| 3 | # (C) Copyright 2012 The Chromium Authors |
Simon Glass | a72007d | 2012-03-30 21:30:58 +0000 | [diff] [blame] | 4 | |
Simon Glass | 1c72175 | 2021-03-07 17:34:47 -0700 | [diff] [blame] | 5 | obj-y += test-main.o |
| 6 | |
Simon Glass | 6ea5df3 | 2020-11-08 21:08:44 -0700 | [diff] [blame] | 7 | ifneq ($(CONFIG_$(SPL_)BLOBLIST),) |
Simon Glass | 82c468a | 2020-10-03 09:25:24 -0600 | [diff] [blame] | 8 | obj-$(CONFIG_$(SPL_)CMDLINE) += bloblist.o |
Simon Glass | f158ba1 | 2020-11-05 10:33:38 -0700 | [diff] [blame] | 9 | obj-$(CONFIG_$(SPL_)CMDLINE) += bootm.o |
Heinrich Schuchardt | fe15865 | 2021-01-18 00:17:33 +0100 | [diff] [blame] | 10 | endif |
Simon Glass | 82c468a | 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 | de429d7 | 2020-10-31 08:59:25 +0100 | [diff] [blame] | 14 | obj-$(CONFIG_$(SPL_)UT_COMPRESSION) += compression.o |
Simon Glass | 16a5068 | 2020-10-03 09:25:25 -0600 | [diff] [blame] | 15 | obj-y += dm/ |
Andrew Scull | 36f641c | 2022-05-30 10:00:09 +0000 | [diff] [blame] | 16 | obj-$(CONFIG_FUZZ) += fuzz/ |
Simon Glass | 29784d6 | 2022-08-01 07:57:59 -0600 | [diff] [blame] | 17 | ifndef CONFIG_SANDBOX_VPL |
| 18 | obj-$(CONFIG_UNIT_TEST) += lib/ |
| 19 | endif |
Francis Laniel | cb1277c | 2023-12-22 22:02:21 +0100 | [diff] [blame] | 20 | ifneq ($(CONFIG_HUSH_PARSER),) |
| 21 | obj-$(CONFIG_$(SPL_)CMDLINE) += hush/ |
| 22 | endif |
Simon Glass | 82c468a | 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 | c812f72 | 2015-05-20 14:27:30 -0500 | [diff] [blame] | 25 | obj-$(CONFIG_UT_TIME) += time_ut.o |
Simon Glass | 16a5068 | 2020-10-03 09:25:25 -0600 | [diff] [blame] | 26 | obj-y += ut.o |
Simon Glass | 627988f | 2020-10-03 09:25:26 -0600 | [diff] [blame] | 27 | |
| 28 | ifeq ($(CONFIG_SPL_BUILD),) |
Simon Glass | 07073d2 | 2023-10-01 19:15:15 -0600 | [diff] [blame] | 29 | obj-$(CONFIG_$(SPL_)UT_BOOTSTD) += boot/ |
Steffen Jaeckel | 25c8b9f | 2021-07-08 15:57:40 +0200 | [diff] [blame] | 30 | obj-$(CONFIG_UNIT_TEST) += common/ |
Simon Glass | 627988f | 2020-10-03 09:25:26 -0600 | [diff] [blame] | 31 | obj-y += log/ |
| 32 | obj-$(CONFIG_$(SPL_)UT_UNICODE) += unicode_ut.o |
Sean Anderson | c56468a6 | 2023-10-14 16:47:57 -0400 | [diff] [blame] | 33 | else |
| 34 | obj-$(CONFIG_SPL_UT_LOAD) += image/ |
Simon Glass | 627988f | 2020-10-03 09:25:26 -0600 | [diff] [blame] | 35 | endif |