summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMaíra Canal <mcanal@igalia.com>2023-02-03 20:37:04 +0300
committerMiguel Ojeda <ojeda@kernel.org>2023-02-07 13:24:50 +0300
commit7ea01d3169a28d090fc8f22e7fcb4e4f1090c2d2 (patch)
treedfed6c92c5caffe0b5da2199bcca4bc2cf73883e /Makefile
parent0d1fffdedae26809ad59168e24f7c7534bd54c3a (diff)
downloadlinux-7ea01d3169a28d090fc8f22e7fcb4e4f1090c2d2.tar.xz
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 <bjorn3_gh@protonmail.com> Signed-off-by: Maíra Canal <mcanal@igalia.com> Reviewed-by: Finn Behrens <fin@nyantec.com> Acked-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com> Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e09fe100efb2..0ebe68ba5753 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 \