All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 1/2] Kconfig: Migrate CONFIG_BUILD_TARGET
@ 2019-01-18  7:22 Jagan Teki
  2019-02-01 16:36 ` Jagan Teki
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Jagan Teki @ 2019-01-18  7:22 UTC (permalink / raw)
  To: u-boot

Migrate CONFIG_BUILD_TARGET into Kconfig.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
Changes for v2:
- build target type 'u-boot.itb' when SPL_LOAD_FIT being used

 Kconfig                                   | 13 +++++++++++++
 README                                    |  7 -------
 arch/arm/mach-mvebu/include/mach/config.h |  5 -----
 configs/SBx81LIFKW_defconfig              |  1 +
 configs/SBx81LIFXCAT_defconfig            |  1 +
 configs/dreamplug_defconfig               |  1 +
 configs/ds109_defconfig                   |  1 +
 configs/guruplug_defconfig                |  1 +
 configs/ib62x0_defconfig                  |  1 +
 configs/nsa310s_defconfig                 |  1 +
 configs/sheevaplug_defconfig              |  1 +
 include/configs/SBx81LIFKW.h              |  1 -
 include/configs/SBx81LIFXCAT.h            |  1 -
 include/configs/ib62x0.h                  |  3 ---
 include/configs/mv-plug-common.h          |  3 ---
 include/configs/nsa310s.h                 |  3 ---
 include/configs/rcar-gen3-common.h        |  1 -
 include/configs/socfpga_common.h          |  3 ---
 include/configs/sunxi-common.h            |  1 -
 scripts/config_whitelist.txt              |  1 -
 20 files changed, 21 insertions(+), 29 deletions(-)

diff --git a/Kconfig b/Kconfig
index aff7b2e00a..15b79259a8 100644
--- a/Kconfig
+++ b/Kconfig
@@ -224,6 +224,19 @@ config BUILD_ROM
 	  which are not shipped in the U-Boot source tree.
 	  Please, see doc/README.x86 for details.
 
+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-elf.srec" if RCAR_GEN3
+	default "u-boot.itb" if SPL_LOAD_FIT && ARCH_SUNXI
+	help
+	  Some SoCs need special image types (e.g. U-Boot binary
+	  with a special header) as build targets. By defining
+	  CONFIG_BUILD_TARGET in the SoC / board header, this
+	  special image will be automatically built upon calling
+	  make / buildman.
+
 endmenu		# General setup
 
 menu "Boot images"
diff --git a/README b/README
index 17d56b8034..01ad69e926 100644
--- a/README
+++ b/README
@@ -1998,13 +1998,6 @@ The following options need to be configured:
 		200 ms.
 
 - Configuration Management:
-		CONFIG_BUILD_TARGET
-
-		Some SoCs need special image types (e.g. U-Boot binary
-		with a special header) as build targets. By defining
-		CONFIG_BUILD_TARGET in the SoC / board header, this
-		special image will be automatically built upon calling
-		make / buildman.
 
 		CONFIG_IDENT_STRING
 
diff --git a/arch/arm/mach-mvebu/include/mach/config.h b/arch/arm/mach-mvebu/include/mach/config.h
index f165d10018..e3235fc67e 100644
--- a/arch/arm/mach-mvebu/include/mach/config.h
+++ b/arch/arm/mach-mvebu/include/mach/config.h
@@ -40,11 +40,6 @@
 #define	CONFIG_SYS_KWD_CONFIG	arch/arm/mach-mvebu/kwbimage.cfg
 #endif /* CONFIG_SYS_KWD_CONFIG */
 
-/* Add target to build it automatically upon "make" */
-#ifdef CONFIG_SPL
-#define CONFIG_BUILD_TARGET	"u-boot-spl.kwb"
-#endif
-
 /* end of 16M scrubbed by training in bootrom */
 #define CONFIG_SYS_INIT_SP_ADDR		0x00FF0000
 
diff --git a/configs/SBx81LIFKW_defconfig b/configs/SBx81LIFKW_defconfig
index e0ce1595c5..52bb70ae8c 100644
--- a/configs/SBx81LIFKW_defconfig
+++ b/configs/SBx81LIFKW_defconfig
@@ -5,6 +5,7 @@ CONFIG_TARGET_SBx81LIFKW=y
 CONFIG_IDENT_STRING="\nSBx81LIFKW"
 # CONFIG_SYS_MALLOC_F is not set
 CONFIG_BOOTDELAY=3
+CONFIG_BUILD_TARGET="u-boot.kwb"
 CONFIG_SILENT_CONSOLE=y
 CONFIG_SILENT_U_BOOT_ONLY=y
 CONFIG_MISC_INIT_R=y
diff --git a/configs/SBx81LIFXCAT_defconfig b/configs/SBx81LIFXCAT_defconfig
index 4a6e05844f..b322ab0959 100644
--- a/configs/SBx81LIFXCAT_defconfig
+++ b/configs/SBx81LIFXCAT_defconfig
@@ -5,6 +5,7 @@ CONFIG_TARGET_SBx81LIFXCAT=y
 CONFIG_IDENT_STRING="\nSBx81LIFXCAT"
 # CONFIG_SYS_MALLOC_F is not set
 CONFIG_BOOTDELAY=3
+CONFIG_BUILD_TARGET="u-boot.kwb"
 CONFIG_SILENT_CONSOLE=y
 CONFIG_SILENT_U_BOOT_ONLY=y
 CONFIG_MISC_INIT_R=y
diff --git a/configs/dreamplug_defconfig b/configs/dreamplug_defconfig
index d3263cf9cd..762521f97d 100644
--- a/configs/dreamplug_defconfig
+++ b/configs/dreamplug_defconfig
@@ -6,6 +6,7 @@ CONFIG_IDENT_STRING="\nMarvell-DreamPlug"
 CONFIG_NR_DRAM_BANKS=2
 # CONFIG_SYS_MALLOC_F is not set
 CONFIG_BOOTDELAY=3
+CONFIG_BUILD_TARGET="u-boot.kwb"
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_FLASH is not set
diff --git a/configs/ds109_defconfig b/configs/ds109_defconfig
index 352403e573..b72174eada 100644
--- a/configs/ds109_defconfig
+++ b/configs/ds109_defconfig
@@ -5,6 +5,7 @@ CONFIG_TARGET_DS109=y
 CONFIG_NR_DRAM_BANKS=2
 # CONFIG_SYS_MALLOC_F is not set
 CONFIG_HUSH_PARSER=y
+CONFIG_BUILD_TARGET="u-boot.kwb"
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_IDE=y
 CONFIG_CMD_I2C=y
diff --git a/configs/guruplug_defconfig b/configs/guruplug_defconfig
index 9998e48ab9..7726f9a769 100644
--- a/configs/guruplug_defconfig
+++ b/configs/guruplug_defconfig
@@ -6,6 +6,7 @@ CONFIG_IDENT_STRING="\nMarvell-GuruPlug"
 CONFIG_NR_DRAM_BANKS=2
 # CONFIG_SYS_MALLOC_F is not set
 CONFIG_BOOTDELAY=3
+CONFIG_BUILD_TARGET="u-boot.kwb"
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
diff --git a/configs/ib62x0_defconfig b/configs/ib62x0_defconfig
index 985d85e027..03987a4ff1 100644
--- a/configs/ib62x0_defconfig
+++ b/configs/ib62x0_defconfig
@@ -5,6 +5,7 @@ CONFIG_TARGET_IB62X0=y
 CONFIG_IDENT_STRING=" RaidSonic ICY BOX IB-NAS62x0"
 CONFIG_NR_DRAM_BANKS=2
 CONFIG_BOOTDELAY=3
+CONFIG_BUILD_TARGET="u-boot.kwb"
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="ib62x0 => "
diff --git a/configs/nsa310s_defconfig b/configs/nsa310s_defconfig
index eb29a70157..971d33b33d 100644
--- a/configs/nsa310s_defconfig
+++ b/configs/nsa310s_defconfig
@@ -4,6 +4,7 @@ CONFIG_SYS_TEXT_BASE=0x600000
 CONFIG_TARGET_NSA310S=y
 CONFIG_NR_DRAM_BANKS=2
 CONFIG_BOOTDELAY=3
+CONFIG_BUILD_TARGET="u-boot.kwb"
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="nsa310s => "
diff --git a/configs/sheevaplug_defconfig b/configs/sheevaplug_defconfig
index 04b00cdea9..33cced9c48 100644
--- a/configs/sheevaplug_defconfig
+++ b/configs/sheevaplug_defconfig
@@ -7,6 +7,7 @@ CONFIG_IDENT_STRING="\nMarvell-Sheevaplug"
 CONFIG_NR_DRAM_BANKS=2
 # CONFIG_SYS_MALLOC_F is not set
 CONFIG_BOOTDELAY=3
+CONFIG_BUILD_TARGET="u-boot.kwb"
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
diff --git a/include/configs/SBx81LIFKW.h b/include/configs/SBx81LIFKW.h
index 07b65f89f9..d62fd35e81 100644
--- a/include/configs/SBx81LIFKW.h
+++ b/include/configs/SBx81LIFKW.h
@@ -13,7 +13,6 @@
 #define CONFIG_KW88F6281	1	/* SOC Name */
 #define CONFIG_SKIP_LOWLEVEL_INIT	/* disable board lowlevel_init */
 #define CONFIG_SYS_KWD_CONFIG	$(CONFIG_BOARDDIR)/kwbimage.cfg
-#define CONFIG_BUILD_TARGET	"u-boot.kwb"
 
 /* additions for new ARM relocation support */
 #define CONFIG_SYS_SDRAM_BASE	0x00000000
diff --git a/include/configs/SBx81LIFXCAT.h b/include/configs/SBx81LIFXCAT.h
index d73752c7f9..3c8c216d89 100644
--- a/include/configs/SBx81LIFXCAT.h
+++ b/include/configs/SBx81LIFXCAT.h
@@ -13,7 +13,6 @@
 #define CONFIG_KW88F6281	1	/* SOC Name */
 #define CONFIG_SKIP_LOWLEVEL_INIT	/* disable board lowlevel_init */
 #define CONFIG_SYS_KWD_CONFIG	$(CONFIG_BOARDDIR)/kwbimage.cfg
-#define CONFIG_BUILD_TARGET	"u-boot.kwb"
 
 /* additions for new ARM relocation support */
 #define CONFIG_SYS_SDRAM_BASE	0x00000000
diff --git a/include/configs/ib62x0.h b/include/configs/ib62x0.h
index f8d3c3b63f..5e54441c73 100644
--- a/include/configs/ib62x0.h
+++ b/include/configs/ib62x0.h
@@ -15,9 +15,6 @@
 #define CONFIG_KW88F6281		/* SOC Name */
 #define CONFIG_SKIP_LOWLEVEL_INIT	/* disable board lowlevel_init */
 
-/* Add target to build it automatically upon "make" */
-#define CONFIG_BUILD_TARGET     "u-boot.kwb"
-
 /*
  * Compression configuration
  */
diff --git a/include/configs/mv-plug-common.h b/include/configs/mv-plug-common.h
index f424e2cc6c..486650f183 100644
--- a/include/configs/mv-plug-common.h
+++ b/include/configs/mv-plug-common.h
@@ -13,9 +13,6 @@
 #define CONFIG_KW88F6281	1	/* SOC Name */
 #define CONFIG_SKIP_LOWLEVEL_INIT	/* disable board lowlevel_init */
 
-/* Add target to build it automatically upon "make" */
-#define CONFIG_BUILD_TARGET     "u-boot.kwb"
-
 /*
  * mv-common.h should be defined after CMD configs since it used them
  * to enable certain macros
diff --git a/include/configs/nsa310s.h b/include/configs/nsa310s.h
index 1ca9a01754..eb465e0690 100644
--- a/include/configs/nsa310s.h
+++ b/include/configs/nsa310s.h
@@ -15,9 +15,6 @@
 #define CONFIG_KW88F6702		1	/* SOC Name */
 #define CONFIG_SKIP_LOWLEVEL_INIT	/* disable board lowlevel_init */
 
-/* add target to build it automatically upon "make" */
-#define CONFIG_BUILD_TARGET		"u-boot.kwb"
-
 /* compression configuration */
 #define CONFIG_BZIP2
 
diff --git a/include/configs/rcar-gen3-common.h b/include/configs/rcar-gen3-common.h
index 6c2fa6a63c..06d5d3219c 100644
--- a/include/configs/rcar-gen3-common.h
+++ b/include/configs/rcar-gen3-common.h
@@ -12,7 +12,6 @@
 #include <asm/arch/rmobile.h>
 
 #define CONFIG_REMAKE_ELF
-#define CONFIG_BUILD_TARGET	"u-boot-elf.srec"
 
 /* boot option */
 
diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h
index bd8f5c8c41..d3dd2eabac 100644
--- a/include/configs/socfpga_common.h
+++ b/include/configs/socfpga_common.h
@@ -14,9 +14,6 @@
 
 #define CONFIG_TIMESTAMP		/* Print image info with timestamp */
 
-/* add target to build it automatically upon "make" */
-#define CONFIG_BUILD_TARGET		"u-boot-with-spl.sfp"
-
 /*
  * Memory configurations
  */
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index 9819d9980c..f0c8daad72 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -32,7 +32,6 @@
 #endif
 
 #ifdef CONFIG_ARM64
-#define CONFIG_BUILD_TARGET "u-boot.itb"
 #define CONFIG_SYS_BOOTM_LEN		(32 << 20)
 #endif
 
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 527050de97..17c4b482c7 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -181,7 +181,6 @@ CONFIG_BS_SIZE
 CONFIG_BTB
 CONFIG_BUFNO_AUTO_INCR_BIT
 CONFIG_BUILD_ENVCRC
-CONFIG_BUILD_TARGET
 CONFIG_BUS_WIDTH
 CONFIG_BZIP2
 CONFIG_CADDY2
-- 
2.18.0.321.gffc6fa0e3

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [U-Boot] [PATCH v2 1/2] Kconfig: Migrate CONFIG_BUILD_TARGET
  2019-01-18  7:22 [U-Boot] [PATCH v2 1/2] Kconfig: Migrate CONFIG_BUILD_TARGET Jagan Teki
@ 2019-02-01 16:36 ` Jagan Teki
  2019-02-01 18:52   ` Tom Rini
  2019-02-03  1:07 ` [U-Boot] [U-Boot,v2,1/2] " Tom Rini
  2019-02-11  1:11 ` [U-Boot] [PATCH v2 1/2] " Chris Packham
  2 siblings, 1 reply; 7+ messages in thread
From: Jagan Teki @ 2019-02-01 16:36 UTC (permalink / raw)
  To: u-boot

Tom or anyone,

On Fri, Jan 18, 2019 at 12:53 PM Jagan Teki <jagan@amarulasolutions.com> wrote:
>
> Migrate CONFIG_BUILD_TARGET into Kconfig.
>
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
> ---

Any comments, if all OK. then these would be good go.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot] [PATCH v2 1/2] Kconfig: Migrate CONFIG_BUILD_TARGET
  2019-02-01 16:36 ` Jagan Teki
@ 2019-02-01 18:52   ` Tom Rini
  0 siblings, 0 replies; 7+ messages in thread
From: Tom Rini @ 2019-02-01 18:52 UTC (permalink / raw)
  To: u-boot

On Fri, Feb 01, 2019 at 10:06:31PM +0530, Jagan Teki wrote:
> Tom or anyone,
> 
> On Fri, Jan 18, 2019 at 12:53 PM Jagan Teki <jagan@amarulasolutions.com> wrote:
> >
> > Migrate CONFIG_BUILD_TARGET into Kconfig.
> >
> > Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
> > ---
> 
> Any comments, if all OK. then these would be good go.

I'm reviewing this now along with 2/2 and the kirkwood patch.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190201/3849c132/attachment.sig>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot] [U-Boot,v2,1/2] Kconfig: Migrate CONFIG_BUILD_TARGET
  2019-01-18  7:22 [U-Boot] [PATCH v2 1/2] Kconfig: Migrate CONFIG_BUILD_TARGET Jagan Teki
  2019-02-01 16:36 ` Jagan Teki
@ 2019-02-03  1:07 ` Tom Rini
  2019-02-11  1:11 ` [U-Boot] [PATCH v2 1/2] " Chris Packham
  2 siblings, 0 replies; 7+ messages in thread
From: Tom Rini @ 2019-02-03  1:07 UTC (permalink / raw)
  To: u-boot

On Fri, Jan 18, 2019 at 12:52:49PM +0530, Jagan Teki wrote:

> Migrate CONFIG_BUILD_TARGET into Kconfig.
> 
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190202/a4a65b86/attachment.sig>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot] [PATCH v2 1/2] Kconfig: Migrate CONFIG_BUILD_TARGET
  2019-01-18  7:22 [U-Boot] [PATCH v2 1/2] Kconfig: Migrate CONFIG_BUILD_TARGET Jagan Teki
  2019-02-01 16:36 ` Jagan Teki
  2019-02-03  1:07 ` [U-Boot] [U-Boot,v2,1/2] " Tom Rini
@ 2019-02-11  1:11 ` Chris Packham
  2019-02-11  6:05   ` Stefan Roese
  2 siblings, 1 reply; 7+ messages in thread
From: Chris Packham @ 2019-02-11  1:11 UTC (permalink / raw)
  To: u-boot

Hi Jagan,

I've just tried this out on x530 and db-88f6820-amc (both ARCH_MVEBU).

On Fri, Jan 18, 2019 at 8:23 PM Jagan Teki <jagan@amarulasolutions.com> wrote:
>
> Migrate CONFIG_BUILD_TARGET into Kconfig.
>
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
> ---
<snip>

> diff --git a/Kconfig b/Kconfig
> index aff7b2e00a..15b79259a8 100644
> --- a/Kconfig
> +++ b/Kconfig
> @@ -224,6 +224,19 @@ config BUILD_ROM
>           which are not shipped in the U-Boot source tree.
>           Please, see doc/README.x86 for details.
>
> +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

It looks like this doesn't work as expected. Perhaps because SPL_BUILD
is a bit special. Should this hang of CONFIG_SPL or CONFIG_SUPPORT_SPL
instead?

> +       default "u-boot-elf.srec" if RCAR_GEN3
> +       default "u-boot.itb" if SPL_LOAD_FIT && ARCH_SUNXI
> +       help
> +         Some SoCs need special image types (e.g. U-Boot binary
> +         with a special header) as build targets. By defining
> +         CONFIG_BUILD_TARGET in the SoC / board header, this
> +         special image will be automatically built upon calling
> +         make / buildman.
> +
>  endmenu                # General setup
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot] [PATCH v2 1/2] Kconfig: Migrate CONFIG_BUILD_TARGET
  2019-02-11  1:11 ` [U-Boot] [PATCH v2 1/2] " Chris Packham
@ 2019-02-11  6:05   ` Stefan Roese
  2019-02-11  6:39     ` Chris Packham
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan Roese @ 2019-02-11  6:05 UTC (permalink / raw)
  To: u-boot

Hi Chris,

On 11.02.19 02:11, Chris Packham wrote:
> Hi Jagan,
> 
> I've just tried this out on x530 and db-88f6820-amc (both ARCH_MVEBU).
> 
> On Fri, Jan 18, 2019 at 8:23 PM Jagan Teki <jagan@amarulasolutions.com> wrote:
>>
>> Migrate CONFIG_BUILD_TARGET into Kconfig.
>>
>> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
>> ---
> <snip>
> 
>> diff --git a/Kconfig b/Kconfig
>> index aff7b2e00a..15b79259a8 100644
>> --- a/Kconfig
>> +++ b/Kconfig
>> @@ -224,6 +224,19 @@ config BUILD_ROM
>>            which are not shipped in the U-Boot source tree.
>>            Please, see doc/README.x86 for details.
>>
>> +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
> 
> It looks like this doesn't work as expected. Perhaps because SPL_BUILD
> is a bit special. Should this hang of CONFIG_SPL or CONFIG_SUPPORT_SPL
> instead?

Baruch already spotted this problem and did send a patch to
fix this issue:

http://patchwork.ozlabs.org/patch/1037973/

Seems to be identical to yours I'll pick it up quickly to fix
this build problem.

Thanks,
Stefan

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot] [PATCH v2 1/2] Kconfig: Migrate CONFIG_BUILD_TARGET
  2019-02-11  6:05   ` Stefan Roese
@ 2019-02-11  6:39     ` Chris Packham
  0 siblings, 0 replies; 7+ messages in thread
From: Chris Packham @ 2019-02-11  6:39 UTC (permalink / raw)
  To: u-boot

On Mon, Feb 11, 2019 at 7:06 PM Stefan Roese <sr@denx.de> wrote:
>
> Hi Chris,
>
> On 11.02.19 02:11, Chris Packham wrote:
> > Hi Jagan,
> >
> > I've just tried this out on x530 and db-88f6820-amc (both ARCH_MVEBU).
> >
> > On Fri, Jan 18, 2019 at 8:23 PM Jagan Teki <jagan@amarulasolutions.com> wrote:
> >>
> >> Migrate CONFIG_BUILD_TARGET into Kconfig.
> >>
> >> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
> >> ---
> > <snip>
> >
> >> diff --git a/Kconfig b/Kconfig
> >> index aff7b2e00a..15b79259a8 100644
> >> --- a/Kconfig
> >> +++ b/Kconfig
> >> @@ -224,6 +224,19 @@ config BUILD_ROM
> >>            which are not shipped in the U-Boot source tree.
> >>            Please, see doc/README.x86 for details.
> >>
> >> +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
> >
> > It looks like this doesn't work as expected. Perhaps because SPL_BUILD
> > is a bit special. Should this hang of CONFIG_SPL or CONFIG_SUPPORT_SPL
> > instead?
>
> Baruch already spotted this problem and did send a patch to
> fix this issue:
>
> http://patchwork.ozlabs.org/patch/1037973/
>
> Seems to be identical to yours I'll pick it up quickly to fix
> this build problem.

OK thanks. I didn't search before sending. I've marked my patch as
superseded in patchwork.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-02-11  6:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-18  7:22 [U-Boot] [PATCH v2 1/2] Kconfig: Migrate CONFIG_BUILD_TARGET Jagan Teki
2019-02-01 16:36 ` Jagan Teki
2019-02-01 18:52   ` Tom Rini
2019-02-03  1:07 ` [U-Boot] [U-Boot,v2,1/2] " Tom Rini
2019-02-11  1:11 ` [U-Boot] [PATCH v2 1/2] " Chris Packham
2019-02-11  6:05   ` Stefan Roese
2019-02-11  6:39     ` Chris Packham

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.