mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] kernel/perf: conditionally enable rust support
@ 2026-05-06 19:09 Lucas Stach
  2026-05-18  7:54 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Lucas Stach @ 2026-05-06 19:09 UTC (permalink / raw)
  To: ptxdist

The autodetection is confused and will still try to
use rust when KERNEL_RUST is disabled.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 rules/kernel.make | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/rules/kernel.make b/rules/kernel.make
index d366be71477b..af0dd3913faf 100644
--- a/rules/kernel.make
+++ b/rules/kernel.make
@@ -244,7 +244,8 @@ KERNEL_TOOL_PERF_OPTS	:= \
 	NO_AUXTRACE= \
 	NO_LIBBPF=1 \
 	NO_SDT=1 \
-	NO_LIBCAP=1
+	NO_LIBCAP=1 \
+	NO_RUST=$(call ptx/ifdef, PTXCONF_KERNEL_RUST,0,1)
 
 # manual make to handle CPPFLAGS and broken parallel building for some
 # kernel versions
-- 
2.47.3




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [APPLIED] kernel/perf: conditionally enable rust support
  2026-05-06 19:09 [ptxdist] [PATCH] kernel/perf: conditionally enable rust support Lucas Stach
@ 2026-05-18  7:54 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2026-05-18  7:54 UTC (permalink / raw)
  To: ptxdist; +Cc: Lucas Stach

Thanks, applied as e0949123f46215eb41ae74c4f78b8295356991b1.

Michael

[sent from post-receive hook]

On Mon, 18 May 2026 09:54:18 +0200, Lucas Stach <l.stach@pengutronix.de> wrote:
> The autodetection is confused and will still try to
> use rust when KERNEL_RUST is disabled.
> 
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> Message-Id: <20260506190947.2600192-1-l.stach@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/kernel.make b/rules/kernel.make
> index d366be71477b..af0dd3913faf 100644
> --- a/rules/kernel.make
> +++ b/rules/kernel.make
> @@ -244,7 +244,8 @@ KERNEL_TOOL_PERF_OPTS	:= \
>  	NO_AUXTRACE= \
>  	NO_LIBBPF=1 \
>  	NO_SDT=1 \
> -	NO_LIBCAP=1
> +	NO_LIBCAP=1 \
> +	NO_RUST=$(call ptx/ifdef, PTXCONF_KERNEL_RUST,0,1)
>  
>  # manual make to handle CPPFLAGS and broken parallel building for some
>  # kernel versions



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-05-18  7:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-06 19:09 [ptxdist] [PATCH] kernel/perf: conditionally enable rust support Lucas Stach
2026-05-18  7:54 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox