[RFC PATCH 1/3] scripts: kconfig: Add config fragment support in board/../

Tom Rini trini at konsulko.com
Fri Jul 14 00:54:41 CEST 2023


On Wed, Jul 12, 2023 at 08:00:28AM -0600, Simon Glass wrote:
> Hi Jason,
> 
> On Tue, 11 Jul 2023 at 16:29, Jason Kacines <j-kacines at ti.com> wrote:
> >
> > Add support to config fragments (.config) located in the /board
> > directory. This will allow only base defconfigs to live in /configs and
> 
> Does this mean defconfigs?

This looks like it would cover defconfig files too, but the initial
motivation is config fragments.  See
https://patchwork.ozlabs.org/project/uboot/patch/20230606071850.270001-5-clamor95@gmail.com/
for another example.

> > all fragments to live in their respective device directory in /board/..
> 
> Why do we want this? The patch should have a motivation.

I've asked a few people to look in to this because we have a lot of
cases today of N _defconfig files where we could really instead have 1
_defconfig file and N config fragment files.  But I do not want them
living in the top level configs directory as that will get even more
unmanageable.

What's not in this patch (and not an ask at this point) is figuring out
how buildman could handle "foo_defconfig bar.config" as the required
config target.

-- 
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/20230713/d7ab938d/attachment.sig>


More information about the U-Boot mailing list