The autodetection is confused and will still try to use rust when KERNEL_RUST is disabled.
Signed-off-by: Lucas Stach <[email protected]> --- 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
