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 | 714c8f2 | 2023-02-22 09:33:46 -0700 | [diff] [blame] | 14 | obj-$(CONFIG_QFW) += bootmeth_qfw.o |
Simon Glass | 262cfb5 | 2021-10-14 12:48:00 -0600 | [diff] [blame] | 15 | |
Simon Glass | 19a91f2 | 2021-10-14 12:47:54 -0600 | [diff] [blame] | 16 | endif |
| 17 | |
| 18 | obj-y += image.o image-board.o |
| 19 | obj-$(CONFIG_ANDROID_AB) += android_ab.o |
| 20 | obj-$(CONFIG_ANDROID_BOOT_IMAGE) += image-android.o image-android-dt.o |
Simon Glass | ef5e389 | 2022-04-24 23:31:06 -0600 | [diff] [blame] | 21 | |
Simon Glass | 2ff5490 | 2022-07-30 15:52:29 -0600 | [diff] [blame] | 22 | obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootdev-uclass.o |
Simon Glass | a8f5be1 | 2022-04-24 23:31:09 -0600 | [diff] [blame] | 23 | obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootflow.o |
Simon Glass | a950d31 | 2022-04-24 23:31:08 -0600 | [diff] [blame] | 24 | obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootmeth-uclass.o |
Simon Glass | ef5e389 | 2022-04-24 23:31:06 -0600 | [diff] [blame] | 25 | obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootstd-uclass.o |
| 26 | |
Simon Glass | 31aefaf | 2022-04-24 23:31:13 -0600 | [diff] [blame] | 27 | obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_DISTRO) += bootmeth_distro.o |
Simon Glass | dab2c28 | 2022-04-24 23:31:16 -0600 | [diff] [blame] | 28 | obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_DISTRO_PXE) += bootmeth_pxe.o |
Simon Glass | acfa9bd | 2022-04-24 23:31:17 -0600 | [diff] [blame] | 29 | obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_EFILOADER) += bootmeth_efi.o |
Simon Glass | 126947b | 2022-04-24 23:31:20 -0600 | [diff] [blame] | 30 | obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_SANDBOX) += bootmeth_sandbox.o |
Simon Glass | d940924 | 2022-04-24 23:31:22 -0600 | [diff] [blame] | 31 | obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_SCRIPT) += bootmeth_script.o |
Simon Glass | 0b41525 | 2022-04-24 23:31:19 -0600 | [diff] [blame] | 32 | ifdef CONFIG_$(SPL_TPL_)BOOTSTD_FULL |
Simon Glass | c9696b1 | 2023-02-05 17:53:23 -0700 | [diff] [blame] | 33 | obj-$(CONFIG_CMD_BOOTEFI_BOOTMGR) += bootmeth_efi_mgr.o |
Simon Glass | 0041b1c | 2023-01-28 15:00:18 -0700 | [diff] [blame] | 34 | obj-$(CONFIG_$(SPL_TPL_)EXPO) += bootflow_menu.o |
Simon Glass | c9696b1 | 2023-02-05 17:53:23 -0700 | [diff] [blame] | 35 | obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootflow_menu.o |
Simon Glass | 0b41525 | 2022-04-24 23:31:19 -0600 | [diff] [blame] | 36 | endif |
Simon Glass | 31aefaf | 2022-04-24 23:31:13 -0600 | [diff] [blame] | 37 | |
Simon Glass | 19a91f2 | 2021-10-14 12:47:54 -0600 | [diff] [blame] | 38 | obj-$(CONFIG_$(SPL_TPL_)OF_LIBFDT) += image-fdt.o |
| 39 | obj-$(CONFIG_$(SPL_TPL_)FIT_SIGNATURE) += fdt_region.o |
| 40 | obj-$(CONFIG_$(SPL_TPL_)FIT) += image-fit.o |
| 41 | obj-$(CONFIG_$(SPL_)MULTI_DTB_FIT) += boot_fit.o common_fit.o |
Philippe Reynes | 9822074 | 2022-03-28 22:56:59 +0200 | [diff] [blame] | 42 | obj-$(CONFIG_$(SPL_TPL_)IMAGE_PRE_LOAD) += image-pre-load.o |
Simon Glass | 19a91f2 | 2021-10-14 12:47:54 -0600 | [diff] [blame] | 43 | obj-$(CONFIG_$(SPL_TPL_)IMAGE_SIGN_INFO) += image-sig.o |
| 44 | obj-$(CONFIG_$(SPL_TPL_)FIT_SIGNATURE) += image-fit-sig.o |
| 45 | obj-$(CONFIG_$(SPL_TPL_)FIT_CIPHER) += image-cipher.o |
| 46 | |
| 47 | obj-$(CONFIG_CMD_ADTIMG) += image-android-dt.o |
| 48 | |
| 49 | ifdef CONFIG_SPL_BUILD |
| 50 | obj-$(CONFIG_SPL_LOAD_FIT) += common_fit.o |
| 51 | endif |
Simon Glass | 4c7418f | 2022-07-30 15:52:32 -0600 | [diff] [blame] | 52 | |
Simon Glass | 0041b1c | 2023-01-28 15:00:18 -0700 | [diff] [blame] | 53 | obj-$(CONFIG_$(SPL_TPL_)EXPO) += expo.o scene.o scene_menu.o |
Simon Glass | 226777f | 2023-01-06 08:52:38 -0600 | [diff] [blame] | 54 | |
Simon Glass | da900e5 | 2023-02-22 09:33:52 -0700 | [diff] [blame^] | 55 | obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE) += vbe.o |
| 56 | obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE_REQUEST) += vbe_request.o |
Simon Glass | cb47e21 | 2022-07-30 15:52:33 -0600 | [diff] [blame] | 57 | obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE_SIMPLE) += vbe_simple.o |
Simon Glass | d2b22ae | 2022-10-20 18:23:10 -0600 | [diff] [blame] | 58 | obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE_SIMPLE_FW) += vbe_simple_fw.o |
Simon Glass | c263e21 | 2022-10-20 18:23:11 -0600 | [diff] [blame] | 59 | obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE_SIMPLE_OS) += vbe_simple_os.o |