blob: 2938c3f145830cbdcf6f3595bba97fd34dc2e8c7 [file] [log] [blame]
Simon Glass91944df2021-10-14 12:47:54 -06001# SPDX-License-Identifier: GPL-2.0+
2#
3# (C) Copyright 2004-2006
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5
6ifndef CONFIG_SPL_BUILD
7
8# This option is not just y/n - it can have a numeric value
9ifdef CONFIG_BOOT_RETRY_TIME
10obj-y += bootretry.o
11endif
12
13obj-$(CONFIG_CMD_BOOTM) += bootm.o bootm_os.o
14obj-$(CONFIG_CMD_BOOTZ) += bootm.o bootm_os.o
15obj-$(CONFIG_CMD_BOOTI) += bootm.o bootm_os.o
16
Simon Glass0666fcb2021-10-14 12:48:00 -060017obj-$(CONFIG_CMD_PXE) += pxe_utils.o
18obj-$(CONFIG_CMD_SYSBOOT) += pxe_utils.o
19
Simon Glass91944df2021-10-14 12:47:54 -060020endif
21
22obj-y += image.o image-board.o
23obj-$(CONFIG_ANDROID_AB) += android_ab.o
24obj-$(CONFIG_ANDROID_BOOT_IMAGE) += image-android.o image-android-dt.o
25obj-$(CONFIG_$(SPL_TPL_)OF_LIBFDT) += image-fdt.o
26obj-$(CONFIG_$(SPL_TPL_)FIT_SIGNATURE) += fdt_region.o
27obj-$(CONFIG_$(SPL_TPL_)FIT) += image-fit.o
28obj-$(CONFIG_$(SPL_)MULTI_DTB_FIT) += boot_fit.o common_fit.o
29obj-$(CONFIG_$(SPL_TPL_)IMAGE_SIGN_INFO) += image-sig.o
30obj-$(CONFIG_$(SPL_TPL_)FIT_SIGNATURE) += image-fit-sig.o
31obj-$(CONFIG_$(SPL_TPL_)FIT_CIPHER) += image-cipher.o
32
33obj-$(CONFIG_CMD_ADTIMG) += image-android-dt.o
34
35ifdef CONFIG_SPL_BUILD
36obj-$(CONFIG_SPL_LOAD_FIT) += common_fit.o
37endif