Simon Glass | 19a91f2 | 2021-10-14 12:47:54 -0600 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
| 2 | # |
| 3 | # (C) Copyright 2004-2006 |
| 4 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 5 | |
| 6 | ifndef CONFIG_SPL_BUILD |
| 7 | |
Tom Rini | 69c8a81 | 2022-03-11 09:12:04 -0500 | [diff] [blame] | 8 | obj-$(CONFIG_BOOT_RETRY) += bootretry.o |
Simon Glass | 19a91f2 | 2021-10-14 12:47:54 -0600 | [diff] [blame] | 9 | obj-$(CONFIG_CMD_BOOTM) += bootm.o bootm_os.o |
| 10 | obj-$(CONFIG_CMD_BOOTZ) += bootm.o bootm_os.o |
| 11 | obj-$(CONFIG_CMD_BOOTI) += bootm.o bootm_os.o |
| 12 | |
John Keeping | be43a35 | 2022-07-28 11:19:15 +0100 | [diff] [blame] | 13 | obj-$(CONFIG_PXE_UTILS) += pxe_utils.o |
Simon Glass | 262cfb5 | 2021-10-14 12:48:00 -0600 | [diff] [blame] | 14 | |
Simon Glass | 19a91f2 | 2021-10-14 12:47:54 -0600 | [diff] [blame] | 15 | endif |
| 16 | |
| 17 | obj-y += image.o image-board.o |
| 18 | obj-$(CONFIG_ANDROID_AB) += android_ab.o |
| 19 | obj-$(CONFIG_ANDROID_BOOT_IMAGE) += image-android.o image-android-dt.o |
Simon Glass | ef5e389 | 2022-04-24 23:31:06 -0600 | [diff] [blame] | 20 | |
Simon Glass | 2ff5490 | 2022-07-30 15:52:29 -0600 | [diff] [blame] | 21 | obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootdev-uclass.o |
Simon Glass | a8f5be1 | 2022-04-24 23:31:09 -0600 | [diff] [blame] | 22 | obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootflow.o |
Simon Glass | a950d31 | 2022-04-24 23:31:08 -0600 | [diff] [blame] | 23 | obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootmeth-uclass.o |
Simon Glass | ef5e389 | 2022-04-24 23:31:06 -0600 | [diff] [blame] | 24 | obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootstd-uclass.o |
| 25 | |
Simon Glass | 31aefaf | 2022-04-24 23:31:13 -0600 | [diff] [blame] | 26 | obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_DISTRO) += bootmeth_distro.o |
Simon Glass | dab2c28 | 2022-04-24 23:31:16 -0600 | [diff] [blame] | 27 | obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_DISTRO_PXE) += bootmeth_pxe.o |
Simon Glass | acfa9bd | 2022-04-24 23:31:17 -0600 | [diff] [blame] | 28 | obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_EFILOADER) += bootmeth_efi.o |
Simon Glass | 126947b | 2022-04-24 23:31:20 -0600 | [diff] [blame] | 29 | obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_SANDBOX) += bootmeth_sandbox.o |
Simon Glass | d940924 | 2022-04-24 23:31:22 -0600 | [diff] [blame] | 30 | obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_SCRIPT) += bootmeth_script.o |
Simon Glass | 0b41525 | 2022-04-24 23:31:19 -0600 | [diff] [blame] | 31 | ifdef CONFIG_$(SPL_TPL_)BOOTSTD_FULL |
| 32 | obj-$(CONFIG_$(SPL_TPL_)CMD_BOOTEFI_BOOTMGR) += bootmeth_efi_mgr.o |
Simon Glass | 02d929b | 2023-01-06 08:52:40 -0600 | [diff] [blame] | 33 | obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootflow_menu.o |
Simon Glass | 0b41525 | 2022-04-24 23:31:19 -0600 | [diff] [blame] | 34 | endif |
Simon Glass | 31aefaf | 2022-04-24 23:31:13 -0600 | [diff] [blame] | 35 | |
Simon Glass | 19a91f2 | 2021-10-14 12:47:54 -0600 | [diff] [blame] | 36 | obj-$(CONFIG_$(SPL_TPL_)OF_LIBFDT) += image-fdt.o |
| 37 | obj-$(CONFIG_$(SPL_TPL_)FIT_SIGNATURE) += fdt_region.o |
| 38 | obj-$(CONFIG_$(SPL_TPL_)FIT) += image-fit.o |
| 39 | obj-$(CONFIG_$(SPL_)MULTI_DTB_FIT) += boot_fit.o common_fit.o |
Philippe Reynes | 9822074 | 2022-03-28 22:56:59 +0200 | [diff] [blame] | 40 | obj-$(CONFIG_$(SPL_TPL_)IMAGE_PRE_LOAD) += image-pre-load.o |
Simon Glass | 19a91f2 | 2021-10-14 12:47:54 -0600 | [diff] [blame] | 41 | obj-$(CONFIG_$(SPL_TPL_)IMAGE_SIGN_INFO) += image-sig.o |
| 42 | obj-$(CONFIG_$(SPL_TPL_)FIT_SIGNATURE) += image-fit-sig.o |
| 43 | obj-$(CONFIG_$(SPL_TPL_)FIT_CIPHER) += image-cipher.o |
| 44 | |
| 45 | obj-$(CONFIG_CMD_ADTIMG) += image-android-dt.o |
| 46 | |
| 47 | ifdef CONFIG_SPL_BUILD |
| 48 | obj-$(CONFIG_SPL_LOAD_FIT) += common_fit.o |
| 49 | endif |
Simon Glass | 4c7418f | 2022-07-30 15:52:32 -0600 | [diff] [blame] | 50 | |
Simon Glass | 226777f | 2023-01-06 08:52:38 -0600 | [diff] [blame] | 51 | obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE) += expo.o scene.o scene_menu.o |
| 52 | |
Simon Glass | 98bedf4 | 2022-10-20 18:23:05 -0600 | [diff] [blame] | 53 | obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE) += vbe.o vbe_request.o |
Simon Glass | cb47e21 | 2022-07-30 15:52:33 -0600 | [diff] [blame] | 54 | obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE_SIMPLE) += vbe_simple.o |
Simon Glass | d2b22ae | 2022-10-20 18:23:10 -0600 | [diff] [blame] | 55 | obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE_SIMPLE_FW) += vbe_simple_fw.o |
Simon Glass | c263e21 | 2022-10-20 18:23:11 -0600 | [diff] [blame] | 56 | obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE_SIMPLE_OS) += vbe_simple_os.o |