Skip to contentSkip to conversation

Kconfig: mvebu: use SPL instead of SPL_BUILD

PATCH New Chris Packham 1 participant 1 message Feb 11, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Kconfig: mvebu: use SPL instead of SPL_BUILD

SPL_BUILD is defined by Makefile.spl when building the SPL part of the image. It can't be used by Kconfig. SPL is known to Kconfig and is defined if the target uses an SPL. Make the condition for BUILD_TARGET depend on ARCH_MVEBU && SPL so that the overall build produces u-boot-spl.kwb.

Fixes commit dc146ca11187 ("Kconfig: Migrate CONFIG_BUILD_TARGET")

---

 Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Kconfig +1 -1
index 2a48f5325663..512c7beb89f9 100644
@@ -227,7 +227,7 @@ config BUILD_ROM
 config BUILD_TARGET
 	string "Build target special images"
 	default "u-boot-with-spl.sfp" if ARCH_SOCFPGA
-	default "u-boot-spl.kwb" if ARCH_MVEBU && SPL_BUILD
+	default "u-boot-spl.kwb" if ARCH_MVEBU && SPL
 	default "u-boot-elf.srec" if RCAR_GEN3
 	default "u-boot.itb" if SPL_LOAD_FIT && ARCH_SUNXI
 	default "u-boot.kwb" if KIRKWOOD
Signature · 1 line
2.20.1