blob: f0a279cde161954e341a623b8b8415fe70ef0e55 [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
John Keeping9b60a172022-07-28 11:19:15 +010013obj-$(CONFIG_PXE_UTILS) += pxe_utils.o
Simon Glass4e3189f2023-02-22 09:33:46 -070014obj-$(CONFIG_QFW) += bootmeth_qfw.o
Simon Glass0666fcb2021-10-14 12:48:00 -060015
Simon Glass91944df2021-10-14 12:47:54 -060016endif
17
18obj-y += image.o image-board.o
Simon Glassa9773b82023-09-14 10:55:45 -060019
Simon Glass91944df2021-10-14 12:47:54 -060020obj-$(CONFIG_ANDROID_AB) += android_ab.o
21obj-$(CONFIG_ANDROID_BOOT_IMAGE) += image-android.o image-android-dt.o
Simon Glass08ad13e2022-04-24 23:31:06 -060022
Simon Glass9f4440d2022-07-30 15:52:29 -060023obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootdev-uclass.o
Simon Glass03fcbf92022-04-24 23:31:09 -060024obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootflow.o
Simon Glass4b508b82022-04-24 23:31:08 -060025obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootmeth-uclass.o
Simon Glass08ad13e2022-04-24 23:31:06 -060026obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootstd-uclass.o
27
Simon Glass92368522023-11-18 14:05:19 -070028obj-$(CONFIG_$(SPL_TPL_)BOOTSTD_PROG) += prog_boot.o
29
Simon Glassb71d7f72023-05-10 16:34:46 -060030obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_EXTLINUX) += bootmeth_extlinux.o
31obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_EXTLINUX_PXE) += bootmeth_pxe.o
Simon Glass66f62552022-04-24 23:31:17 -060032obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_EFILOADER) += bootmeth_efi.o
Tom Rini350198e2023-10-26 14:31:26 -040033obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_CROS) += bootm.o bootm_os.o bootmeth_cros.o
Simon Glass423994e2022-04-24 23:31:20 -060034obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_SANDBOX) += bootmeth_sandbox.o
Simon Glass7e03e742022-04-24 23:31:22 -060035obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_SCRIPT) += bootmeth_script.o
Heinrich Schuchardtef97f7c2023-12-16 16:38:36 +010036obj-$(CONFIG_$(SPL_TPL_)CEDIT) += cedit.o
Simon Glass309e6ec2022-04-24 23:31:19 -060037ifdef CONFIG_$(SPL_TPL_)BOOTSTD_FULL
AKASHI Takahiroe3e542d2024-01-17 13:39:42 +090038obj-$(CONFIG_EFI_BOOTMGR) += bootmeth_efi_mgr.o
Simon Glass389a4582023-01-28 15:00:18 -070039obj-$(CONFIG_$(SPL_TPL_)EXPO) += bootflow_menu.o
Simon Glasse65efec2023-02-05 17:53:23 -070040obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootflow_menu.o
Simon Glass309e6ec2022-04-24 23:31:19 -060041endif
Simon Glassad8ec372022-04-24 23:31:13 -060042
Simon Glassa9773b82023-09-14 10:55:45 -060043obj-$(CONFIG_$(SPL_TPL_)OF_LIBFDT) += fdt_support.o
Simon Glass27367192023-09-14 10:55:46 -060044obj-$(CONFIG_$(SPL_TPL_)FDT_SIMPLEFB) += fdt_simplefb.o
Simon Glassa9773b82023-09-14 10:55:45 -060045
Simon Glass91944df2021-10-14 12:47:54 -060046obj-$(CONFIG_$(SPL_TPL_)OF_LIBFDT) += image-fdt.o
47obj-$(CONFIG_$(SPL_TPL_)FIT_SIGNATURE) += fdt_region.o
48obj-$(CONFIG_$(SPL_TPL_)FIT) += image-fit.o
49obj-$(CONFIG_$(SPL_)MULTI_DTB_FIT) += boot_fit.o common_fit.o
Philippe Reynesd28484e2022-03-28 22:56:59 +020050obj-$(CONFIG_$(SPL_TPL_)IMAGE_PRE_LOAD) += image-pre-load.o
Simon Glass91944df2021-10-14 12:47:54 -060051obj-$(CONFIG_$(SPL_TPL_)IMAGE_SIGN_INFO) += image-sig.o
52obj-$(CONFIG_$(SPL_TPL_)FIT_SIGNATURE) += image-fit-sig.o
53obj-$(CONFIG_$(SPL_TPL_)FIT_CIPHER) += image-cipher.o
54
55obj-$(CONFIG_CMD_ADTIMG) += image-android-dt.o
56
57ifdef CONFIG_SPL_BUILD
58obj-$(CONFIG_SPL_LOAD_FIT) += common_fit.o
59endif
Simon Glass0a9f4262022-07-30 15:52:32 -060060
Simon Glass6116e762023-10-01 19:13:32 -060061obj-$(CONFIG_$(SPL_TPL_)EXPO) += expo.o scene.o expo_build.o
62obj-$(CONFIG_$(SPL_TPL_)EXPO) += scene_menu.o scene_textline.o
Simon Glass9f513932023-01-06 08:52:38 -060063
Simon Glass513eeed2023-02-22 09:33:52 -070064obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE) += vbe.o
65obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE_REQUEST) += vbe_request.o
Simon Glassd0af04c2022-07-30 15:52:33 -060066obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE_SIMPLE) += vbe_simple.o
Simon Glassd78aa752022-10-20 18:23:10 -060067obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE_SIMPLE_FW) += vbe_simple_fw.o
Simon Glass39db1992022-10-20 18:23:11 -060068obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE_SIMPLE_OS) += vbe_simple_os.o