blob: dd45d786f8cc166baf2ff3d28a276459cf180d1e [file] [log] [blame]
Simon Glass19a91f22021-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 Rini69c8a812022-03-11 09:12:04 -05008obj-$(CONFIG_BOOT_RETRY) += bootretry.o
Simon Glass19a91f22021-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
John Keepingbe43a352022-07-28 11:19:15 +010013obj-$(CONFIG_PXE_UTILS) += pxe_utils.o
Simon Glass262cfb52021-10-14 12:48:00 -060014
Simon Glass19a91f22021-10-14 12:47:54 -060015endif
16
17obj-y += image.o image-board.o
18obj-$(CONFIG_ANDROID_AB) += android_ab.o
19obj-$(CONFIG_ANDROID_BOOT_IMAGE) += image-android.o image-android-dt.o
Simon Glassef5e3892022-04-24 23:31:06 -060020
Simon Glass2ff54902022-07-30 15:52:29 -060021obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootdev-uclass.o
Simon Glassa8f5be12022-04-24 23:31:09 -060022obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootflow.o
Simon Glassa950d312022-04-24 23:31:08 -060023obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootmeth-uclass.o
Simon Glassef5e3892022-04-24 23:31:06 -060024obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootstd-uclass.o
25
Simon Glass31aefaf2022-04-24 23:31:13 -060026obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_DISTRO) += bootmeth_distro.o
Simon Glassdab2c282022-04-24 23:31:16 -060027obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_DISTRO_PXE) += bootmeth_pxe.o
Simon Glassacfa9bd2022-04-24 23:31:17 -060028obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_EFILOADER) += bootmeth_efi.o
Simon Glass126947b2022-04-24 23:31:20 -060029obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_SANDBOX) += bootmeth_sandbox.o
Simon Glassd9409242022-04-24 23:31:22 -060030obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_SCRIPT) += bootmeth_script.o
Simon Glass0b415252022-04-24 23:31:19 -060031ifdef CONFIG_$(SPL_TPL_)BOOTSTD_FULL
32obj-$(CONFIG_$(SPL_TPL_)CMD_BOOTEFI_BOOTMGR) += bootmeth_efi_mgr.o
33endif
Simon Glass31aefaf2022-04-24 23:31:13 -060034
Simon Glass19a91f22021-10-14 12:47:54 -060035obj-$(CONFIG_$(SPL_TPL_)OF_LIBFDT) += image-fdt.o
36obj-$(CONFIG_$(SPL_TPL_)FIT_SIGNATURE) += fdt_region.o
37obj-$(CONFIG_$(SPL_TPL_)FIT) += image-fit.o
38obj-$(CONFIG_$(SPL_)MULTI_DTB_FIT) += boot_fit.o common_fit.o
Philippe Reynes98220742022-03-28 22:56:59 +020039obj-$(CONFIG_$(SPL_TPL_)IMAGE_PRE_LOAD) += image-pre-load.o
Simon Glass19a91f22021-10-14 12:47:54 -060040obj-$(CONFIG_$(SPL_TPL_)IMAGE_SIGN_INFO) += image-sig.o
41obj-$(CONFIG_$(SPL_TPL_)FIT_SIGNATURE) += image-fit-sig.o
42obj-$(CONFIG_$(SPL_TPL_)FIT_CIPHER) += image-cipher.o
43
44obj-$(CONFIG_CMD_ADTIMG) += image-android-dt.o
45
46ifdef CONFIG_SPL_BUILD
47obj-$(CONFIG_SPL_LOAD_FIT) += common_fit.o
48endif
Simon Glass4c7418f2022-07-30 15:52:32 -060049
Simon Glass8aaacd62022-10-11 09:47:18 -060050obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE) += vbe.o vbe_fixup.o
Simon Glasscb47e212022-07-30 15:52:33 -060051obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE_SIMPLE) += vbe_simple.o