[U-Boot] [PATCH] Kconfig: fix BUILD_TARGET for ARCH_MVEBU

Commit dc146ca11187 ("Kconfig: Migrate CONFIG_BUILD_TARGET") made the mvebu default build target depend on CONFIG_SPL_BUILD. Unfortunately, there is no such Kconfig symbol. Use the CONFIG_SPL symbol instead to fix that.
Cc: Jagan Teki jagan@amarulasolutions.com Signed-off-by: Baruch Siach baruch@tkos.co.il --- Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Kconfig b/Kconfig index 2a48f5325663..512c7beb89f9 100644 --- a/Kconfig +++ b/Kconfig @@ -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

On 07.02.19 12:21, Baruch Siach wrote:
Commit dc146ca11187 ("Kconfig: Migrate CONFIG_BUILD_TARGET") made the mvebu default build target depend on CONFIG_SPL_BUILD. Unfortunately, there is no such Kconfig symbol. Use the CONFIG_SPL symbol instead to fix that.
Cc: Jagan Teki jagan@amarulasolutions.com Signed-off-by: Baruch Siach baruch@tkos.co.il
Thanks for spotting.
Reviewed-by: Stefan Roese sr@denx.de
Thanks, Stefan

On Thu, Feb 7, 2019 at 4:52 PM Baruch Siach baruch@tkos.co.il wrote:
Commit dc146ca11187 ("Kconfig: Migrate CONFIG_BUILD_TARGET") made the mvebu default build target depend on CONFIG_SPL_BUILD. Unfortunately, there is no such Kconfig symbol. Use the CONFIG_SPL symbol instead to fix that.
Cc: Jagan Teki jagan@amarulasolutions.com Signed-off-by: Baruch Siach baruch@tkos.co.il
Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Kconfig b/Kconfig index 2a48f5325663..512c7beb89f9 100644 --- a/Kconfig +++ b/Kconfig @@ -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
Reviewed-by: Jagan Teki jagan@amarulasolutions.com

On 07.02.19 12:21, Baruch Siach wrote:
Commit dc146ca11187 ("Kconfig: Migrate CONFIG_BUILD_TARGET") made the mvebu default build target depend on CONFIG_SPL_BUILD. Unfortunately, there is no such Kconfig symbol. Use the CONFIG_SPL symbol instead to fix that.
Cc: Jagan Teki jagan@amarulasolutions.com Signed-off-by: Baruch Siach baruch@tkos.co.il
Applied to u-boot-marvell/master
Thanks, Stefan
participants (3)
-
Baruch Siach
-
Jagan Teki
-
Stefan Roese