[PATCH] buildman: Add a way to build a particular target
Tom Rini
trini at konsulko.com
Tue Dec 17 20:53:48 CET 2024
On Tue, Dec 17, 2024 at 12:45:29PM -0700, Simon Glass wrote:
> 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.
I don't recall if there's a good reason for imx8 not setting
CONFIG_BUILD_TARGET to something, but that sounds like how to solve this
problem. "make all" should work, normally.
> But yes, we could add more things to buildman, e.g. it could output
> the initial env as a file for later parsing.
Well, your patch supports that, if I read it right. It just doesn't save it.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20241217/aab242c2/attachment.sig>
More information about the U-Boot
mailing list