blob: b24f806d5bf8623bf515869f126610282ec47d94 [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
Simon Glass0e84d962024-09-29 19:49:50 -06006ifndef CONFIG_XPL_BUILD
Simon Glass91944df2021-10-14 12:47:54 -06007
Tom Rinia45a3ef2022-03-11 09:12:04 -05008obj-$(CONFIG_BOOT_RETRY) += bootretry.o
Tom Rini793921e2024-04-18 08:29:35 -06009obj-$(CONFIG_CMD_BOOTM) += bootm.o bootm_os.o
Simon Glass91944df2021-10-14 12:47:54 -060010obj-$(CONFIG_CMD_BOOTZ) += bootm.o bootm_os.o
11obj-$(CONFIG_CMD_BOOTI) += bootm.o bootm_os.o
12
John Keeping9b60a172022-07-28 11:19:15 +010013obj-$(CONFIG_PXE_UTILS) += pxe_utils.o
Simon Glass0666fcb2021-10-14 12:48:00 -060014
Simon Glass91944df2021-10-14 12:47:54 -060015endif
16
17obj-y += image.o image-board.o
Simon Glassa9773b82023-09-14 10:55:45 -060018
Simon Glass91944df2021-10-14 12:47:54 -060019obj-$(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 Glass4cafa212024-09-29 19:49:54 -060022obj-$(CONFIG_$(PHASE_)BOOTSTD) += bootdev-uclass.o
23obj-$(CONFIG_$(PHASE_)BOOTSTD) += bootflow.o
24obj-$(CONFIG_$(PHASE_)BOOTSTD) += bootmeth-uclass.o
25obj-$(CONFIG_$(PHASE_)BOOTSTD) += bootstd-uclass.o
Simon Glass08ad13e2022-04-24 23:31:06 -060026
Simon Glass4cafa212024-09-29 19:49:54 -060027obj-$(CONFIG_$(PHASE_)BOOTSTD_PROG) += prog_boot.o
Simon Glass92368522023-11-18 14:05:19 -070028
Simon Glass4cafa212024-09-29 19:49:54 -060029obj-$(CONFIG_$(PHASE_)BOOTMETH_EXTLINUX) += bootmeth_extlinux.o
30obj-$(CONFIG_$(PHASE_)BOOTMETH_EXTLINUX_PXE) += bootmeth_pxe.o
31obj-$(CONFIG_$(PHASE_)BOOTMETH_EFILOADER) += bootmeth_efi.o
32obj-$(CONFIG_$(PHASE_)BOOTMETH_CROS) += bootm.o bootm_os.o bootmeth_cros.o
33obj-$(CONFIG_$(PHASE_)BOOTMETH_QFW) += bootmeth_qfw.o
34obj-$(CONFIG_$(PHASE_)BOOTMETH_SANDBOX) += bootmeth_sandbox.o
35obj-$(CONFIG_$(PHASE_)BOOTMETH_SCRIPT) += bootmeth_script.o
36obj-$(CONFIG_$(PHASE_)CEDIT) += cedit.o
37obj-$(CONFIG_$(PHASE_)BOOTMETH_EFI_BOOTMGR) += bootmeth_efi_mgr.o
38ifdef CONFIG_$(PHASE_)BOOTSTD_FULL
39obj-$(CONFIG_$(PHASE_)EXPO) += bootflow_menu.o
40obj-$(CONFIG_$(PHASE_)BOOTSTD) += bootflow_menu.o
Simon Glass309e6ec2022-04-24 23:31:19 -060041endif
Simon Glassad8ec372022-04-24 23:31:13 -060042
Simon Glass4cafa212024-09-29 19:49:54 -060043obj-$(CONFIG_$(PHASE_)OF_LIBFDT) += fdt_support.o
44obj-$(CONFIG_$(PHASE_)FDT_SIMPLEFB) += fdt_simplefb.o
Simon Glassa9773b82023-09-14 10:55:45 -060045
Simon Glass4cafa212024-09-29 19:49:54 -060046obj-$(CONFIG_$(PHASE_)UPL) += upl_common.o
47obj-$(CONFIG_$(PHASE_)UPL_READ) += upl_read.o
48obj-$(CONFIG_$(PHASE_)UPL_WRITE) += upl_write.o
Simon Glass77459f42024-08-07 16:47:27 -060049
Simon Glass4cafa212024-09-29 19:49:54 -060050obj-$(CONFIG_$(PHASE_)OF_LIBFDT) += image-fdt.o
51obj-$(CONFIG_$(PHASE_)FIT_SIGNATURE) += fdt_region.o
52obj-$(CONFIG_$(PHASE_)FIT) += image-fit.o
Simon Glass86adc2e2024-09-29 19:49:53 -060053obj-$(CONFIG_$(XPL_)MULTI_DTB_FIT) += boot_fit.o common_fit.o
Simon Glass4cafa212024-09-29 19:49:54 -060054obj-$(CONFIG_$(PHASE_)IMAGE_PRE_LOAD) += image-pre-load.o
55obj-$(CONFIG_$(PHASE_)IMAGE_SIGN_INFO) += image-sig.o
56obj-$(CONFIG_$(PHASE_)FIT_SIGNATURE) += image-fit-sig.o
57obj-$(CONFIG_$(PHASE_)FIT_CIPHER) += image-cipher.o
Simon Glass91944df2021-10-14 12:47:54 -060058
59obj-$(CONFIG_CMD_ADTIMG) += image-android-dt.o
60
Simon Glass4cafa212024-09-29 19:49:54 -060061obj-$(CONFIG_$(PHASE_)LOAD_FIT) += common_fit.o
Simon Glass0a9f4262022-07-30 15:52:32 -060062
Simon Glass4cafa212024-09-29 19:49:54 -060063obj-$(CONFIG_$(PHASE_)EXPO) += expo.o scene.o expo_build.o
64obj-$(CONFIG_$(PHASE_)EXPO) += scene_menu.o scene_textline.o
Simon Glass9f513932023-01-06 08:52:38 -060065
Simon Glass4cafa212024-09-29 19:49:54 -060066obj-$(CONFIG_$(PHASE_)BOOTMETH_VBE) += vbe.o
67obj-$(CONFIG_$(PHASE_)BOOTMETH_VBE_REQUEST) += vbe_request.o
68obj-$(CONFIG_$(PHASE_)BOOTMETH_VBE_SIMPLE) += vbe_simple.o
69obj-$(CONFIG_$(PHASE_)BOOTMETH_VBE_SIMPLE_FW) += vbe_simple_fw.o
70obj-$(CONFIG_$(PHASE_)BOOTMETH_VBE_SIMPLE_OS) += vbe_simple_os.o
Mattijs Korpershoekb30baa92024-07-10 10:40:05 +020071
Simon Glass4cafa212024-09-29 19:49:54 -060072obj-$(CONFIG_$(PHASE_)BOOTMETH_ANDROID) += bootmeth_android.o