From: Miguel Ojeda Date: Mon, 8 Jun 2026 14:14:21 +0000 (+0200) Subject: rust: kbuild: show the right `quiet_cmd_rustc_procmacrolibrary` X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=70a8d5ada9fabf4a34732b718f9c992195eed2ea;p=thirdparty%2Fkernel%2Flinux.git rust: kbuild: show the right `quiet_cmd_rustc_procmacrolibrary` When Clippy is skipped, `RUSTC` should be shown in `quiet` instead of `CLIPPY` to be accurate and to avoid confusion. Thus do so, matching what we do in `quiet_cmd_rustc_library`. Fixes: 7dbe46c0b11d ("rust: kbuild: add proc macro library support") Reviewed-by: Nicolas Schier Link: https://patch.msgid.link/20260608141439.182634-3-ojeda@kernel.org Signed-off-by: Miguel Ojeda --- diff --git a/rust/Makefile b/rust/Makefile index b9e9f512cec3..bec9726f256c 100644 --- a/rust/Makefile +++ b/rust/Makefile @@ -517,7 +517,7 @@ $(obj)/exports_bindings_generated.h: $(obj)/bindings.o FORCE $(obj)/exports_kernel_generated.h: $(obj)/kernel.o FORCE $(call if_changed,exports) -quiet_cmd_rustc_procmacrolibrary = $(RUSTC_OR_CLIPPY_QUIET) PL $@ +quiet_cmd_rustc_procmacrolibrary = $(if $(skip_clippy),RUSTC,$(RUSTC_OR_CLIPPY_QUIET)) PL $@ cmd_rustc_procmacrolibrary = \ $(if $(skip_clippy),$(RUSTC),$(RUSTC_OR_CLIPPY)) \ $(filter-out $(skip_flags),$(rust_common_flags) $(rustc_target_flags)) \