OSDN Git Service

certs: refactor file cleaning
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 14 Dec 2021 02:53:48 +0000 (11:53 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 8 Jan 2022 08:46:35 +0000 (17:46 +0900)
commit5cca36069d4c2942a46f98f47b9e7160fd547e03
tree53260efe8c19e8397a6611a5e7f5804ac16912c9
parent3958f2156b418c9dce0a4402a59d95b122a92a04
certs: refactor file cleaning

'make clean' removes files listed in 'targets'. It is redundant to
specify both 'targets' and 'clean-files'.

Move 'targets' assignments out of the ifeq-conditionals so
scripts/Makefile.clean can see them.

One effective change is that certs/certs/signing_key.x509 is now
deleted by 'make clean' instead of 'make mrproper. This certificate
is embedded in the kernel. It is not used in any way by external
module builds.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <n.schier@avm.de>
Makefile
certs/Makefile