blob: ad608598d29887bb21cb0b779cd71494f668b399 [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 Glass714c8f22023-02-22 09:33:46 -070014obj-$(CONFIG_QFW) += bootmeth_qfw.o
Simon Glass262cfb52021-10-14 12:48:00 -060015
Simon Glass19a91f22021-10-14 12:47:54 -060016endif
17
18obj-y += image.o image-board.o
Simon Glassb1a4b462023-09-14 10:55:45 -060019
Simon Glass19a91f22021-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 Glassef5e3892022-04-24 23:31:06 -060022
Simon Glass2ff54902022-07-30 15:52:29 -060023obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootdev-uclass.o
Simon Glassa8f5be12022-04-24 23:31:09 -060024obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootflow.o
Simon Glassa950d312022-04-24 23:31:08 -060025obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootmeth-uclass.o
Simon Glassef5e3892022-04-24 23:31:06 -060026obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootstd-uclass.o
27
Simon Glass79f66352023-05-10 16:34:46 -060028obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_EXTLINUX) += bootmeth_extlinux.o
29obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_EXTLINUX_PXE) += bootmeth_pxe.o
Simon Glassacfa9bd2022-04-24 23:31:17 -060030obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_EFILOADER) += bootmeth_efi.o
Simon Glassc88d67d2023-07-12 09:04:45 -060031obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_CROS) += bootmeth_cros.o
Simon Glass126947b2022-04-24 23:31:20 -060032obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_SANDBOX) += bootmeth_sandbox.o
Simon Glassd9409242022-04-24 23:31:22 -060033obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_SCRIPT) += bootmeth_script.o
Simon Glass0b415252022-04-24 23:31:19 -060034ifdef CONFIG_$(SPL_TPL_)BOOTSTD_FULL
Simon Glassc9696b12023-02-05 17:53:23 -070035obj-$(CONFIG_CMD_BOOTEFI_BOOTMGR) += bootmeth_efi_mgr.o
Simon Glass0041b1c2023-01-28 15:00:18 -070036obj-$(CONFIG_$(SPL_TPL_)EXPO) += bootflow_menu.o
Simon Glassc9696b12023-02-05 17:53:23 -070037obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootflow_menu.o
Simon Glassa0874dc2023-06-01 10:23:02 -060038obj-$(CONFIG_$(SPL_TPL_)CEDIT) += cedit.o
Simon Glass0b415252022-04-24 23:31:19 -060039endif
Simon Glass31aefaf2022-04-24 23:31:13 -060040
Simon Glassb1a4b462023-09-14 10:55:45 -060041obj-$(CONFIG_$(SPL_TPL_)OF_LIBFDT) += fdt_support.o
Simon Glassddc5f9b2023-09-14 10:55:46 -060042obj-$(CONFIG_$(SPL_TPL_)FDT_SIMPLEFB) += fdt_simplefb.o
Simon Glassb1a4b462023-09-14 10:55:45 -060043
Simon Glass19a91f22021-10-14 12:47:54 -060044obj-$(CONFIG_$(SPL_TPL_)OF_LIBFDT) += image-fdt.o
45obj-$(CONFIG_$(SPL_TPL_)FIT_SIGNATURE) += fdt_region.o
46obj-$(CONFIG_$(SPL_TPL_)FIT) += image-fit.o
47obj-$(CONFIG_$(SPL_)MULTI_DTB_FIT) += boot_fit.o common_fit.o
Philippe Reynes98220742022-03-28 22:56:59 +020048obj-$(CONFIG_$(SPL_TPL_)IMAGE_PRE_LOAD) += image-pre-load.o
Simon Glass19a91f22021-10-14 12:47:54 -060049obj-$(CONFIG_$(SPL_TPL_)IMAGE_SIGN_INFO) += image-sig.o
50obj-$(CONFIG_$(SPL_TPL_)FIT_SIGNATURE) += image-fit-sig.o
51obj-$(CONFIG_$(SPL_TPL_)FIT_CIPHER) += image-cipher.o
52
53obj-$(CONFIG_CMD_ADTIMG) += image-android-dt.o
54
55ifdef CONFIG_SPL_BUILD
56obj-$(CONFIG_SPL_LOAD_FIT) += common_fit.o
57endif
Simon Glass4c7418f2022-07-30 15:52:32 -060058
Simon Glass4db75192023-10-01 19:13:32 -060059obj-$(CONFIG_$(SPL_TPL_)EXPO) += expo.o scene.o expo_build.o
60obj-$(CONFIG_$(SPL_TPL_)EXPO) += scene_menu.o scene_textline.o
Simon Glass226777f2023-01-06 08:52:38 -060061
Simon Glassda900e52023-02-22 09:33:52 -070062obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE) += vbe.o
63obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE_REQUEST) += vbe_request.o
Simon Glasscb47e212022-07-30 15:52:33 -060064obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE_SIMPLE) += vbe_simple.o
Simon Glassd2b22ae2022-10-20 18:23:10 -060065obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE_SIMPLE_FW) += vbe_simple_fw.o
Simon Glassc263e212022-10-20 18:23:11 -060066obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE_SIMPLE_OS) += vbe_simple_os.o