From: Nathan Chancellor <nathan@kernel.org>
To: Mikko Rapeli <mikko.rapeli@linaro.org>
Cc: Nicolas Schier <nsc@kernel.org>,
Daniel Gomez <da.gomez@samsung.com>,
Anders Roxell <anders.roxell@linaro.org>,
Masahiro Yamada <masahiroy@kernel.org>,
linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org,
Andreas Larsson <andreas@gaisler.com>
Subject: Re: [PATCH] scripts: kconfig: merge_config.sh: create tmp file for awk
Date: Wed, 11 Mar 2026 00:48:13 -0700 [thread overview]
Message-ID: <20260311074813.GA1996626@ax162> (raw)
In-Reply-To: <20260310105114.192327-1-mikko.rapeli@linaro.org>
On Tue, Mar 10, 2026 at 12:51:14PM +0200, Mikko Rapeli wrote:
> From: Nathan Chancellor <nathan@kernel.org>
>
> For some reason some awk versions/configurations fail to create
> this output file. Create it in the shell script part before
> providing it to awk.
>
> Reported-by: Andreas Larsson <andreas@gaisler.com>
> Closes: https://lore.kernel.org/linux-kbuild/acb36651-449a-43e4-afe2-ba42a435cbb0@gaisler.com/
> Fixes: 5fa9b82cbcfc ("scripts: kconfig: merge_config.sh: refactor from shell/sed/grep to awk")
> Tested-by: Andreas Larsson <andreas@gaisler.com>
> Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Even though it is a bigger patch, I think I prefer Daniel's submitted
fix for this issue:
https://lore.kernel.org/20260310-fixes-merge-config-v1-1-beaeeaded6bd@samsung.com/
> ---
> scripts/kconfig/merge_config.sh | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/scripts/kconfig/merge_config.sh b/scripts/kconfig/merge_config.sh
> index 735e1de450c6..070ecae87a1c 100755
> --- a/scripts/kconfig/merge_config.sh
> +++ b/scripts/kconfig/merge_config.sh
> @@ -123,6 +123,7 @@ fi
> MERGE_LIST=$*
>
> TMP_FILE=$(mktemp ./.tmp.config.XXXXXXXXXX)
> +touch "$TMP_FILE.new"
>
> echo "Using $INITFILE as base"
>
> --
> 2.34.1
>
prev parent reply other threads:[~2026-03-11 7:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-10 10:51 [PATCH] scripts: kconfig: merge_config.sh: create tmp file for awk Mikko Rapeli
2026-03-11 7:48 ` Nathan Chancellor [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260311074813.GA1996626@ax162 \
--to=nathan@kernel.org \
--cc=anders.roxell@linaro.org \
--cc=andreas@gaisler.com \
--cc=da.gomez@samsung.com \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=masahiroy@kernel.org \
--cc=mikko.rapeli@linaro.org \
--cc=nsc@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.