Simon Glass | 91944df | 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 | a45a3ef | 2022-03-11 09:12:04 -0500 | [diff] [blame] | 8 | obj-$(CONFIG_BOOT_RETRY) += bootretry.o |
Simon Glass | 91944df | 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 | 9b60a17 | 2022-07-28 11:19:15 +0100 | [diff] [blame] | 13 | obj-$(CONFIG_PXE_UTILS) += pxe_utils.o |
Simon Glass | 0666fcb | 2021-10-14 12:48:00 -0600 | [diff] [blame] | 14 | |
Simon Glass | 91944df | 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 | 08ad13e | 2022-04-24 23:31:06 -0600 | [diff] [blame] | 20 | |
Simon Glass | 9f4440d | 2022-07-30 15:52:29 -0600 | [diff] [blame] | 21 | obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootdev-uclass.o |
Simon Glass | 03fcbf9 | 2022-04-24 23:31:09 -0600 | [diff] [blame] | 22 | obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootflow.o |
Simon Glass | 4b508b8 | 2022-04-24 23:31:08 -0600 | [diff] [blame] | 23 | obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootmeth-uclass.o |
Simon Glass | 08ad13e | 2022-04-24 23:31:06 -0600 | [diff] [blame] | 24 | obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootstd-uclass.o |
| 25 | |
Simon Glass | ad8ec37 | 2022-04-24 23:31:13 -0600 | [diff] [blame] | 26 | obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_DISTRO) += bootmeth_distro.o |
Simon Glass | 8314461 | 2022-04-24 23:31:16 -0600 | [diff] [blame] | 27 | obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_DISTRO_PXE) += bootmeth_pxe.o |
Simon Glass | 66f6255 | 2022-04-24 23:31:17 -0600 | [diff] [blame] | 28 | obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_EFILOADER) += bootmeth_efi.o |
Simon Glass | 423994e | 2022-04-24 23:31:20 -0600 | [diff] [blame] | 29 | obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_SANDBOX) += bootmeth_sandbox.o |
Simon Glass | 7e03e74 | 2022-04-24 23:31:22 -0600 | [diff] [blame] | 30 | obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_SCRIPT) += bootmeth_script.o |
Simon Glass | 309e6ec | 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 |
| 33 | endif |
Simon Glass | ad8ec37 | 2022-04-24 23:31:13 -0600 | [diff] [blame] | 34 | |
Simon Glass | 91944df | 2021-10-14 12:47:54 -0600 | [diff] [blame] | 35 | obj-$(CONFIG_$(SPL_TPL_)OF_LIBFDT) += image-fdt.o |
| 36 | obj-$(CONFIG_$(SPL_TPL_)FIT_SIGNATURE) += fdt_region.o |
| 37 | obj-$(CONFIG_$(SPL_TPL_)FIT) += image-fit.o |
| 38 | obj-$(CONFIG_$(SPL_)MULTI_DTB_FIT) += boot_fit.o common_fit.o |
Philippe Reynes | d28484e | 2022-03-28 22:56:59 +0200 | [diff] [blame] | 39 | obj-$(CONFIG_$(SPL_TPL_)IMAGE_PRE_LOAD) += image-pre-load.o |
Simon Glass | 91944df | 2021-10-14 12:47:54 -0600 | [diff] [blame] | 40 | obj-$(CONFIG_$(SPL_TPL_)IMAGE_SIGN_INFO) += image-sig.o |
| 41 | obj-$(CONFIG_$(SPL_TPL_)FIT_SIGNATURE) += image-fit-sig.o |
| 42 | obj-$(CONFIG_$(SPL_TPL_)FIT_CIPHER) += image-cipher.o |
| 43 | |
| 44 | obj-$(CONFIG_CMD_ADTIMG) += image-android-dt.o |
| 45 | |
| 46 | ifdef CONFIG_SPL_BUILD |
| 47 | obj-$(CONFIG_SPL_LOAD_FIT) += common_fit.o |
| 48 | endif |
Simon Glass | 0a9f426 | 2022-07-30 15:52:32 -0600 | [diff] [blame] | 49 | |
Simon Glass | 386d05d | 2022-10-11 09:47:18 -0600 | [diff] [blame] | 50 | obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE) += vbe.o vbe_fixup.o |
Simon Glass | d0af04c | 2022-07-30 15:52:33 -0600 | [diff] [blame] | 51 | obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE_SIMPLE) += vbe_simple.o |