[U-Boot] [PATCH v2 1/2] Kconfig: Migrate CONFIG_BUILD_TARGET

Chris Packham judge.packham at gmail.com
Mon Feb 11 06:39:01 UTC 2019


On Mon, Feb 11, 2019 at 7:06 PM Stefan Roese <sr at 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 at amarulasolutions.com> wrote:
> >>
> >> Migrate CONFIG_BUILD_TARGET into Kconfig.
> >>
> >> Signed-off-by: Jagan Teki <jagan at 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.


More information about the U-Boot mailing list