]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita3a374f44c6603f9f8522ff65573d852ddc84a80
tree14f81b1ab99d156633b0c740c2f948e4fc7b11da
parent051363c2998d629d5807f8bc749bf074a4fbf5a1
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