[PATCH v2 1/3] buildman: allow specifying configuration fragments

Tom Rini trini at konsulko.com
Sat Apr 19 16:18:36 CEST 2025


On Sat, Apr 19, 2025 at 08:14:22AM -0600, Simon Glass wrote:
> Hi Heinrich,
> 
> On Sat, 19 Apr 2025 at 04:20, Heinrich Schuchardt
> <heinrich.schuchardt at canonical.com> wrote:
> >
> > On 4/18/25 13:39, Simon Glass wrote:
> > > Hi Quentin,
> > >
> > > On Fri, 18 Apr 2025 at 05:27, Quentin Schulz <quentin.schulz at cherry.de> wrote:
> > >>
> > >> Hi Heinrich,
> > >>
> > >> On 4/17/25 12:40 AM, Heinrich Schuchardt wrote:
> > >>> Currently we are no able to build with configuration fragments in our CI.
> > >>> With this patch buildman gets a new argument --fragments for passing a
> > >>> comma separated list of configuration fragments to add to the board
> > >>> defconfigs, e.g.
> > >>>
> > >>>       tools/buildman/buildman \
> > >>>       -o build \
> > >>>       -k qemu-riscv64_smode \
> > >>>       --fragments acpi.config
> > >>>
> > >>
> > >> What about using:
> > >>
> > >> --fragment acpi.config --fragment fragment2.config
> > >>
> > >> ?
> > >
> > > Yes that could be useful. It would also allow wildcards, although the
> > > code would need to drop the config/ directory prefix. Also, I see that
> > > -z is available so perhaps that could be a (bad) short option?
> >
> > Hello Simon,
> >
> > What do you mean by useful?
> >
> > --fragments a,b conveys the same information as --fragment a --fragment b.
> >
> > We are not passing any config/ directory with the fragment names.
> >
> > Using wildcards in does not depend on how fragment names are passed.
> >
> > As maintainer of buildman, please, clearly express how you want the
> > fragment names to be passed. "Could be useful" does not indicate any
> > decision but let's me hang in limbo.
> 
> NAK
> 
> We need a file which lists the valid boards for each config fragment.
> Buildman should parse that and it should be possible (with an argument
> like --build-all-fragments) to build all fragments for a board (or all
> boards), to make sure that things actually build. See [1]
> 
> So until that is done I'm going to NAK the whole concept[2].

And [1] was also already NAK'd, so I guess we wasted Heinrich's time
here? Sorry about that.

-- 
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/20250419/82c996a0/attachment.sig>


More information about the U-Boot mailing list