From: Maíra Canal Date: Fri, 3 Feb 2023 17:37:04 +0000 (-0300) Subject: rust: delete rust-project.json when running make clean X-Git-Tag: v6.6.17~5570^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7ea01d3169a28d090fc8f22e7fcb4e4f1090c2d2;p=platform%2Fkernel%2Flinux-rpi.git rust: delete rust-project.json when running make clean rust-project.json is the configuration file used by rust-analyzer. As it is a configuration file and it is not needed to build external modules, it should be delete by make clean. So, delete rust-project.json when running make clean. Link: https://github.com/Rust-for-Linux/linux/issues/939 Suggested-by: Björn Roy Baron Signed-off-by: Maíra Canal Reviewed-by: Finn Behrens Acked-by: Masahiro Yamada Reviewed-by: Vincenzo Palazzo Signed-off-by: Miguel Ojeda --- diff --git a/Makefile b/Makefile index e09fe10..0ebe68b 100644 --- a/Makefile +++ b/Makefile @@ -1589,7 +1589,7 @@ endif # CONFIG_MODULES CLEAN_FILES += include/ksym vmlinux.symvers modules-only.symvers \ modules.builtin modules.builtin.modinfo modules.nsdeps \ compile_commands.json .thinlto-cache rust/test rust/doc \ - .vmlinux.objs .vmlinux.export.c + rust-project.json .vmlinux.objs .vmlinux.export.c # Directories & files removed with 'make mrproper' MRPROPER_FILES += include/config include/generated \