]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
kbuild: rust: clean `zerocopy-derive` in `mrproper`
authorMiguel Ojeda <ojeda@kernel.org>
Wed, 10 Jun 2026 14:30:25 +0000 (16:30 +0200)
committerMiguel Ojeda <ojeda@kernel.org>
Thu, 11 Jun 2026 07:39:04 +0000 (09:39 +0200)
Just like for the other two Rust proc macros, remove the artifacts in
`mrproper`.

This should have been part of commit 506054980429 ("rust: zerocopy-derive:
enable support in kbuild").

Link: https://patch.msgid.link/20260610143025.368801-1-ojeda@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Makefile

index c71c43bc3658af72e07fd18b9f2d7507c9ceca4f..8235b6a9b3cc902cd7b624f34d19f4be01dd0354 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1705,7 +1705,8 @@ MRPROPER_FILES += include/config include/generated          \
                  vmlinux-gdb.py \
                  rpmbuild \
                  rust/libmacros.so rust/libmacros.dylib \
-                 rust/libpin_init_internal.so rust/libpin_init_internal.dylib
+                 rust/libpin_init_internal.so rust/libpin_init_internal.dylib \
+                 rust/libzerocopy_derive.so rust/libzerocopy_derive.dylib
 
 # clean - Delete most, but leave enough to build external modules
 #