[PATCH] buildman: Add a way to build a particular target

Simon Glass sjg at chromium.org
Tue Dec 17 20:45:29 CET 2024


Hi Tom,

On Tue, 17 Dec 2024 at 07:20, Tom Rini <trini at konsulko.com> wrote:
>
> On Tue, Dec 17, 2024 at 06:26:16AM -0700, Simon Glass wrote:
>
> > At present buildman only supports building the default target. Generally
> > this is what is wanted, but in some cases boards erroneously have a
> > different target for product extra files.
> >
> > Add a --target option to help. Also add a comment indicating which
> > letters are free for new options.
> >
> > Signed-off-by: Simon Glass <sjg at chromium.org>
>
> How do you use this? It would be nice to be able to do "--target
> u-boot-initial-env" for example for converting and verifying the
> conversion of boards to plain text environment. Except the list of
> artifacts that are kept isn't updated with that string as well. And
> FWIW, is this for a case not solved by CONFIG_BUILD_TARGET?

It's related to the problem where colibri-imx8 doesn't actually build
an image with the default boot target.

But yes, we could add more things to buildman, e.g. it could output
the initial env as a file for later parsing.

Regards,
Simon


More information about the U-Boot mailing list