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