mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Lucas Stach <l.stach@pengutronix.de>
Subject: Re: [ptxdist] [APPLIED] kernel/perf: conditionally enable rust support
Date: Mon, 18 May 2026 09:54:18 +0200	[thread overview]
Message-ID: <20260518075418.52834-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20260506190947.2600192-1-l.stach@pengutronix.de>

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



      reply	other threads:[~2026-05-18  7:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-06 19:09 [ptxdist] [PATCH] " Lucas Stach
2026-05-18  7:54 ` Michael Olbrich [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=20260518075418.52834-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=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