blob: fe221d7f441f2baf2b5225b947a16f940a40298f [file] [log] [blame]
Simon Glass91944df2021-10-14 12:47:54 -06001# SPDX-License-Identifier: GPL-2.0+
2#
3# (C) Copyright 2004-2006
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5
6ifndef CONFIG_SPL_BUILD
7
Tom Rinia45a3ef2022-03-11 09:12:04 -05008obj-$(CONFIG_BOOT_RETRY) += bootretry.o
Simon Glass91944df2021-10-14 12:47:54 -06009obj-$(CONFIG_CMD_BOOTM) += bootm.o bootm_os.o
10obj-$(CONFIG_CMD_BOOTZ) += bootm.o bootm_os.o
11obj-$(CONFIG_CMD_BOOTI) += bootm.o bootm_os.o
12
Simon Glass0666fcb2021-10-14 12:48:00 -060013obj-$(CONFIG_CMD_PXE) += pxe_utils.o
14obj-$(CONFIG_CMD_SYSBOOT) += pxe_utils.o
15
Simon Glass91944df2021-10-14 12:47:54 -060016endif
17
18obj-y += image.o image-board.o
19obj-$(CONFIG_ANDROID_AB) += android_ab.o
20obj-$(CONFIG_ANDROID_BOOT_IMAGE) += image-android.o image-android-dt.o
Simon Glass08ad13e2022-04-24 23:31:06 -060021
Simon Glassab5bbe22022-04-24 23:31:18 -060022obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootdev-uclass.o system_bootdev.o
Simon Glass03fcbf92022-04-24 23:31:09 -060023obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootflow.o
Simon Glass4b508b82022-04-24 23:31:08 -060024obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootmeth-uclass.o
Simon Glass08ad13e2022-04-24 23:31:06 -060025obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootstd-uclass.o
26
Simon Glassad8ec372022-04-24 23:31:13 -060027obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_DISTRO) += bootmeth_distro.o
Simon Glass83144612022-04-24 23:31:16 -060028obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_DISTRO_PXE) += bootmeth_pxe.o
Simon Glass66f62552022-04-24 23:31:17 -060029obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_EFILOADER) += bootmeth_efi.o
Simon Glass309e6ec2022-04-24 23:31:19 -060030ifdef CONFIG_$(SPL_TPL_)BOOTSTD_FULL
31obj-$(CONFIG_$(SPL_TPL_)CMD_BOOTEFI_BOOTMGR) += bootmeth_efi_mgr.o
32endif
Simon Glassad8ec372022-04-24 23:31:13 -060033
Simon Glass91944df2021-10-14 12:47:54 -060034obj-$(CONFIG_$(SPL_TPL_)OF_LIBFDT) += image-fdt.o
35obj-$(CONFIG_$(SPL_TPL_)FIT_SIGNATURE) += fdt_region.o
36obj-$(CONFIG_$(SPL_TPL_)FIT) += image-fit.o
37obj-$(CONFIG_$(SPL_)MULTI_DTB_FIT) += boot_fit.o common_fit.o
Philippe Reynesd28484e2022-03-28 22:56:59 +020038obj-$(CONFIG_$(SPL_TPL_)IMAGE_PRE_LOAD) += image-pre-load.o
Simon Glass91944df2021-10-14 12:47:54 -060039obj-$(CONFIG_$(SPL_TPL_)IMAGE_SIGN_INFO) += image-sig.o
40obj-$(CONFIG_$(SPL_TPL_)FIT_SIGNATURE) += image-fit-sig.o
41obj-$(CONFIG_$(SPL_TPL_)FIT_CIPHER) += image-cipher.o
42
43obj-$(CONFIG_CMD_ADTIMG) += image-android-dt.o
44
45ifdef CONFIG_SPL_BUILD
46obj-$(CONFIG_SPL_LOAD_FIT) += common_fit.o
47endif