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 <[email protected]> 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 <[email protected]>
> >
> > 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

Attachment: signature.asc
Description: PGP signature

Reply via email to