aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/remove-stale-files
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2023-01-07 18:45:45 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2023-01-22 23:43:33 +0900
commitc83b16cefd78f55071840e1159ead9fe62747769 (patch)
treef103dd2763d7d48a7bfa070480a8db8082751329 /scripts/remove-stale-files
parentfixdep: do not parse *.rlib, *.rmeta, *.so (diff)
downloadwireguard-linux-c83b16cefd78f55071840e1159ead9fe62747769.tar.xz
wireguard-linux-c83b16cefd78f55071840e1159ead9fe62747769.zip
kbuild: rust: move rust/target.json to scripts/
scripts/ is a better place to generate files used treewide. With target.json moved to scripts/, you do not need to add target.json to no-clean-files or MRPROPER_FILES. 'make clean' does not visit scripts/, but 'make mrproper' does. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Miguel Ojeda <ojeda@kernel.org> Tested-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'scripts/remove-stale-files')
-rwxr-xr-xscripts/remove-stale-files2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/remove-stale-files b/scripts/remove-stale-files
index cdbdde89a271..c71bf2f68360 100755
--- a/scripts/remove-stale-files
+++ b/scripts/remove-stale-files
@@ -27,3 +27,5 @@ rm -f arch/x86/purgatory/kexec-purgatory.c
rm -f scripts/extract-cert
rm -f scripts/kconfig/[gmnq]conf-cfg
+
+rm -f rust/target.json