[PATCH] kconfig: Add support for out-of-tree config fragment and defconfig

Tom Rini trini at konsulko.com
Wed Nov 5 16:19:49 CET 2025


On Wed, Nov 05, 2025 at 09:13:15AM -0600, Ryan Eatmon wrote:
> 
> 
> On 11/5/2025 8:42 AM, Tom Rini wrote:
> > On Wed, Nov 05, 2025 at 03:53:16PM +0530, Neha Malcom Francis wrote:
> > 
> > > Add support for fetching config fragments and defconfigs out-of-tree using
> > > CONFIG_FRAGMENT_PATH and CONFIG_DEFCONFIG_PATH respectively.
> > > 
> > > Signed-off-by: Neha Malcom Francis <n-francis at ti.com>
> > > ---
> > >   scripts/kconfig/Makefile | 10 +++++++++-
> > >   1 file changed, 9 insertions(+), 1 deletion(-)
> > 
> > Isn't this what scripts/kconfig/merge_config.sh is for? No, you can't
> > just do "make foo_defconfig bar.config" directly, but your tooling that
> > knows about outside fragments can merge foo_defconfig with
> > /somewhere/bar.config directly.
> 
> The problem is the Yocto recipes.  There is a somewhat fixed manner in which
> the recipe is setup and optionally adding steps is way more invasive than
> just adding an option to the make command.

The merge_config.sh tool came from the OpenEmbedded community pushing
things up to the kernel, so this sounds like a problem to resolve in the
u-boot recipes/classes, and not something to change here. Feel free to
loop me in on patches / discussions over on the appropriate list(s)
there, thanks.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20251105/f492b3a5/attachment.sig>


More information about the U-Boot mailing list