From: Lucas Stach <l.stach@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] kernel/perf: conditionally enable rust support
Date: Wed, 6 May 2026 21:09:47 +0200 [thread overview]
Message-ID: <20260506190947.2600192-1-l.stach@pengutronix.de> (raw)
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
reply other threads:[~2026-05-06 19:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20260506190947.2600192-1-l.stach@pengutronix.de \
--to=l.stach@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox