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
  0 siblings, 0 replies; only message 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] only message in thread

only message in thread, other threads:[~2026-05-06 19:09 UTC | newest]

Thread overview: (only message) (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

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