From: Miguel Ojeda Date: Mon, 8 Jun 2026 14:14:24 +0000 (+0200) Subject: rust: kbuild: define `procmacro-extension` variable X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=2846ebc836bbb3c09211ff298de74ee7dd6b0f28;p=thirdparty%2Fkernel%2Flinux.git rust: kbuild: define `procmacro-extension` variable Since we are adding one more proc macro crate (`zerocopy-derive`), we are refactoring their handling. Thus, instead of using `libmacros_extension` as the common variable to hold the extension for all of them, use a dedicated variable with a more generic name (including for its implementation). Link: https://patch.msgid.link/20260608141439.182634-6-ojeda@kernel.org Signed-off-by: Miguel Ojeda --- diff --git a/rust/Makefile b/rust/Makefile index 8dfccf7399d9..df90fabefb70 100644 --- a/rust/Makefile +++ b/rust/Makefile @@ -48,10 +48,9 @@ endif ifdef CONFIG_RUST procmacro-name = $(shell MAKEFLAGS= $(RUSTC) --print file-names --crate-name $(1) --crate-type proc-macro -