Re: [PATCH 0/3] Fix merge_config.sh

From: Nathan Chancellor

Date: Wed Mar 11 2026 - 03:56:20 EST


On Tue, Mar 10, 2026 at 12:36:22PM +0100, Daniel Gomez wrote:
> Restore empty base file support introduced by a26fe287eed1 ("kconfig:
> merge_config: use an empty file as initfile") broken by the awk
> refactoring in 5fa9b82cbcfc ("scripts: kconfig: merge_config.sh:
> refactor from shell/sed/grep to awk"). Also fix POSIX compatibility for
> non-bash /bin/sh and clean up whitespace.
>
> Signed-off-by: Daniel Gomez <da.gomez@xxxxxxxxxxx>
> ---
> Daniel Gomez (3):
> scripts: kconfig: merge_config.sh: pass output file as awk variable
> scripts: kconfig: merge_config.sh: fix indentation

Thanks, I have tentatively applied these to kbuild-fixes-unstable,
pending further comments and reviews from folks. I will send out a
message when they are formally applied to kbuild-fixes.

> scripts: kconfig: merge_config.sh: use POSIX test operator

Someone else submitted a patch a couple of days ago for this, it is
already in kbuild-fixes:

https://git.kernel.org/kbuild/c/3b4a3a00de8770f3a60c1fa483921ce37415132d

Cheers,
Nathan