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 | |
Simon Glass | 262cfb5 | 2021-10-14 12:48:00 -0600 | [diff] [blame] | 13 | obj-$(CONFIG_CMD_PXE) += pxe_utils.o |
| 14 | obj-$(CONFIG_CMD_SYSBOOT) += pxe_utils.o |
| 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 | a080b98 | 2022-04-24 23:31:18 -0600 | [diff] [blame] | 22 | obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootdev-uclass.o system_bootdev.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 |
| 33 | obj-$(CONFIG_$(SPL_TPL_)CMD_BOOTEFI_BOOTMGR) += bootmeth_efi_mgr.o |
| 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 |