boot: global: Use BOOT to pull in boot functions

Each arch has its own set of functions related to booting. Rather than
including them for each enabled command, have a single rule to include
them, using the new CONFIG_BOOT

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-05-31 11:11:07 +01:00
parent 2ffe3ef03d
commit cba7622d29
12 changed files with 15 additions and 16 deletions

View File

@@ -4,5 +4,5 @@
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
obj-y += cache.o
obj-$(CONFIG_CMD_BOOTM) += bootm.o
obj-$(CONFIG_BOOT) += bootm.o
obj-y += libgcc.o