kbuild: rust: move rust/target.json to scripts/
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 7 Jan 2023 09:45:45 +0000 (18:45 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 22 Jan 2023 14:43:33 +0000 (23:43 +0900)
commitc83b16cefd78f55071840e1159ead9fe62747769
treef103dd2763d7d48a7bfa070480a8db8082751329
parent93c656de8da8b53317bd88ecb7cce592310995d8
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>
Makefile
rust/.gitignore
rust/Makefile
scripts/.gitignore
scripts/Makefile
scripts/remove-stale-files