[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <44168005-28df-4b5b-96a7-b6b9e7494aed@linux.dev>
Date: Wed, 21 Jan 2026 10:30:40 -0800
From: Ihor Solodrai <ihor.solodrai@...ux.dev>
To: Gary Guo <gary@...yguo.net>, Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>, Andrii Nakryiko <andrii@...nel.org>,
Martin KaFai Lau <martin.lau@...ux.dev>
Cc: Thomas Weißschuh <linux@...ssschuh.net>,
Nathan Chancellor <nathan@...nel.org>, Nicolas Schier <nsc@...nel.org>,
bpf@...r.kernel.org, linux-kbuild@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH bpf-next v1] scripts/gen-btf.sh: Use CONFIG_SHELL for
execution
On 1/21/26 10:24 AM, Gary Guo wrote:
> On Wed Jan 21, 2026 at 6:16 PM GMT, Ihor Solodrai wrote:
>> According to the docs [1], kernel build scripts should be executed via
>> CONFIG_SHELL, which is sh by default.
>>
>> Fixup gen-btf.sh to be runnable with sh, and use CONFIG_SHELL at every
>> invocation site.
>>
>> See relevant discussion for context [2].
>>
>> [1] https://docs.kernel.org/kbuild/makefiles.html#script-invocation
>> [2] https://lore.kernel.org/bpf/CAADnVQ+dxmSNoJAGb6xV89ffUCKXe5CJXovXZt22nv5iYFV5mw@mail.gmail.com/
>>
>> Signed-off-by: Ihor Solodrai <ihor.solodrai@...ux.dev>
>
> I can indeed build again when applying this on top of linux-next. Thanks.
>
> Tested-by: Gary Guo <gary@...yguo.net>
>
> You probably also want to carry some Reported-by, Suggested-by and Fixes tags here.
You're right. This should do it:
Reported-by: Gary Guo <gary@...yguo.net>
Suggested-by: Thomas Weißschuh <linux@...ssschuh.net>
Fixes: 522397d05e7d ("resolve_btfids: Change in-place update with raw binary output")
Alexei, please lmk if I should re-send with tags.
>
>
>> [...]
Powered by blists - more mailing lists