OSDN Git Service

certs: use if_changed to re-generate the key when the key type is changed
authorMasahiro Yamada <masahiroy@kernel.org>
Fri, 5 Nov 2021 03:59:58 +0000 (12:59 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 11 Dec 2021 13:09:14 +0000 (22:09 +0900)
commite06a61a89ccd3edda046c78f9d08aa045b8c4d32
tree14f81b1ab99d156633b0c740c2f948e4fc7b11da
parent54c8b517d2955ada78ba553f4b6682483895f32a
certs: use if_changed to re-generate the key when the key type is changed

If the key type of the existing signing key does not match to
CONFIG_MODULE_SIG_KEY_TYPE_*, the Makefile removes it so that it is
re-generated.

Use if_changed so that the key is re-generated when the key type is
changed (that is, the openssl command line is changed).

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
certs/Makefile