]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
treewide: Make arch-specific bootm code depend on BOOTM
authorSimon Glass <sjg@chromium.org>
Fri, 15 Dec 2023 04:19:02 +0000 (21:19 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 10 Apr 2024 23:04:25 +0000 (17:04 -0600)
Allow these functions to be compiled in when CONFIG_BOOTM is enabled,
even if CONFIG_CMD_BOOTM is not.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Angelo Dureghello <angelo@kernel-space.org>
12 files changed:
arch/arc/lib/Makefile
arch/arm/lib/Makefile
arch/m68k/lib/Makefile
arch/microblaze/lib/Makefile
arch/mips/lib/Makefile
arch/nios2/lib/Makefile
arch/powerpc/lib/Makefile
arch/riscv/lib/Makefile
arch/sandbox/lib/Makefile
arch/sh/lib/Makefile
arch/x86/lib/Makefile
arch/xtensa/lib/Makefile

index 0eb44bcf33d01c62e3f38ff4b2c6d5b878c2bcee..bde1c3d8af3a83d607bfdd16389870ccdc1b6c4a 100644 (file)
@@ -12,6 +12,6 @@ obj-y += reset.o
 obj-y += ints_low.o
 obj-y += init_helpers.o
 
-obj-$(CONFIG_CMD_BOOTM) += bootm.o
+obj-$(CONFIG_BOOTM) += bootm.o
 
 lib-$(CONFIG_USE_PRIVATE_LIBGCC) += _millicodethunk.o libgcc2.o
index b1bcd3746625a53b66c41ff98fec3c41e4027244..b20a467f684cd0336a0e0a15ddc9ca7ff3c5e752 100644 (file)
@@ -31,7 +31,7 @@ endif
 obj-$(CONFIG_CPU_V7M) += cmd_boot.o
 obj-$(CONFIG_OF_LIBFDT) += bootm-fdt.o
 obj-$(CONFIG_CMD_BOOTI) += bootm.o image.o
-obj-$(CONFIG_CMD_BOOTM) += bootm.o
+obj-$(CONFIG_BOOTM) += bootm.o
 obj-$(CONFIG_CMD_BOOTZ) += bootm.o zimage.o
 else
 obj-$(CONFIG_$(SPL_TPL_)FRAMEWORK) += spl.o
index 6e1fd938f526aeb21e07a4a21f39a42b4f9cd1c3..5ccd9545cb5cf142769753c04203ef97cde103dd 100644 (file)
@@ -8,7 +8,7 @@
 lib-$(CONFIG_USE_PRIVATE_LIBGCC) += lshrdi3.o muldi3.o ashldi3.o ashrdi3.o
 
 obj-y  += bdinfo.o
-obj-$(CONFIG_CMD_BOOTM) += bootm.o
+obj-$(CONFIG_BOOTM) += bootm.o
 obj-y  += cache.o
 obj-y  += interrupts.o
 obj-y  += time.o
index dfd8135f4f253740fb479cd11fd02743aeffa91e..2f234825f8049f2a68572d3b9701229169a6f985 100644 (file)
@@ -3,6 +3,6 @@
 # (C) Copyright 2003-2006
 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
 
-obj-$(CONFIG_CMD_BOOTM) += bootm.o
+obj-$(CONFIG_BOOTM) += bootm.o
 obj-$(CONFIG_CMD_BDI) += bdinfo.o
 obj-y  += muldi3.o
index 9ee1fcb5c7024046cbb20041f6796665fb821bda..f8e162c53b5849038af2da43cd1ec7695c9ea7d2 100644 (file)
@@ -10,7 +10,7 @@ obj-y += reloc.o
 obj-y  += stack.o
 obj-y  += traps.o
 
-obj-$(CONFIG_CMD_BOOTM) += bootm.o
+obj-$(CONFIG_BOOTM) += bootm.o
 obj-$(CONFIG_CMD_GO) += boot.o
 obj-$(CONFIG_SPL_BUILD) += spl.o
 
index a9f3c7100e7227bc8bd048ce469772066183c49c..68a5ca007d557d05cf83081ee962dba3aa226a3f 100644 (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_BOOTM) += bootm.o
 obj-y  += libgcc.o
index bb819dcbb6cc7bc5f6eb5fb261fcb19c7b148a4f..dcce9834927d17e6693642277c7a38e1f40ebb7a 100644 (file)
@@ -34,7 +34,7 @@ obj-y += ticks.o
 endif
 obj-y  += reloc.o
 
-obj-$(CONFIG_CMD_BOOTM) += bootm.o
+obj-$(CONFIG_BOOTM) += bootm.o
 obj-y  += cache.o
 obj-y  += extable.o
 obj-y  += interrupts.o
index 9a05b662fd632ebb6b99adad8127604ed6d5a9a8..0b2c88db6badbdfd1729b3d553d2cbb985d6e014 100644 (file)
@@ -6,7 +6,7 @@
 # Copyright (C) 2017 Andes Technology Corporation
 # Rick Chen, Andes Technology Corporation <rick@andestech.com>
 
-obj-$(CONFIG_CMD_BOOTM) += bootm.o
+obj-$(CONFIG_BOOTM) += bootm.o
 obj-$(CONFIG_CMD_BOOTI) += bootm.o image.o
 obj-$(CONFIG_CMD_GO) += boot.o
 obj-y  += cache.o
index a2bc5a7ee60fe8c44d0dcf91df6da8c509f79db4..c4924b23c8329869335f58b41aa77090b6f63926 100644 (file)
@@ -7,5 +7,5 @@
 
 obj-y  += fdt_fixup.o interrupts.o sections.o
 obj-$(CONFIG_PCI)      += pci_io.o
-obj-$(CONFIG_CMD_BOOTM) += bootm.o
+obj-$(CONFIG_BOOTM) += bootm.o
 obj-$(CONFIG_CMD_BOOTZ) += bootm.o
index e7520a328d5427f70e55b501278e1a6a0b80f758..8c3c30293a3cf3b79b3f175f4f4c2c766bb61479 100644 (file)
@@ -6,7 +6,7 @@
 extra-y        += start.o
 
 obj-y  += board.o
-obj-$(CONFIG_CMD_BOOTM) += bootm.o
+obj-$(CONFIG_BOOTM) += bootm.o
 obj-y  += time.o
 obj-$(CONFIG_CMD_SH_ZIMAGEBOOT) += zimageboot.o
 
index 90a7618ecfded257f09f8826efe6c98df9f9ba33..2b13f5504ad0412921be81146bf55609c0899387 100644 (file)
@@ -16,7 +16,7 @@ obj-$(CONFIG_X86_32BIT_INIT) += string.o
 endif
 
 ifndef CONFIG_SPL_BUILD
-obj-$(CONFIG_CMD_BOOTM) += bootm.o
+obj-$(CONFIG_BOOTM) += bootm.o
 endif
 obj-y  += cmd_boot.o
 obj-$(CONFIG_$(SPL_)COREBOOT_SYSINFO)  += coreboot/
index ad4fe32cb69908e994137f415013b25124fa7ed3..bb9157f30f0f1e7f6af8768d70a6ab4015b3b871 100644 (file)
@@ -3,6 +3,6 @@
 # (C) Copyright 2007 - 2013 Tensilica Inc.
 # (C) Copyright 2014 - 2016 Cadence Design Systems Inc.
 
-obj-$(CONFIG_CMD_BOOTM) += bootm.o
+obj-$(CONFIG_BOOTM) += bootm.o
 
 obj-y  += cache.o misc.o relocate.o time.o