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

Ryan Eatmon reatmon at ti.com
Wed Nov 5 16:13:15 CET 2025



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.


-- 
Ryan Eatmon                reatmon at ti.com
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS


More information about the U-Boot mailing list