summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-11-05 12:59:54 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2021-12-11 22:09:14 +0900
commit54e2c77dd4cbf9bab5aa4ac8cf821005aaeb50fe (patch)
treed7d92ef7fa86edf9817e2c1e15205e445fb96213
parentb06d9d3b6a0358d1b8cec5243c14fcc6a997529f (diff)
certs: remove meaningless $(error ...) in certs/Makefile
CONFIG_MODULE_SIG_HASH is defined by init/Kconfig. This $(error ...) is never reachable. (If it is, you need to fix the bug.) Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
-rw-r--r--certs/Makefile3
1 files changed, 0 insertions, 3 deletions
diff --git a/certs/Makefile b/certs/Makefile
index 279433783b10..db1fd2f4b950 100644
--- a/certs/Makefile
+++ b/certs/Makefile
@@ -50,9 +50,6 @@ ifdef SIGN_KEY
# fail and that the kernel may be used afterwards.
#
###############################################################################
-ifndef CONFIG_MODULE_SIG_HASH
-$(error Could not determine digest type to use from kernel config)
-endif
redirect_openssl = 2>&1
quiet_redirect_openssl = 2>&1