summaryrefslogtreecommitdiffstats
path: root/certs/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2022-01-20 20:22:04 +0100
committerMasahiro Yamada <masahiroy@kernel.org>2022-01-22 16:00:14 +0100
commitad29a2fb3c201ef066b0a9fe10a6e14dd0d59c48 (patch)
tree355c36ec58cf23980264f588bd563c7aeb933ee9 /certs/Makefile
parentRevert "Makefile: Do not quote value for CONFIG_CC_IMPLICIT_FALLTHROUGH" (diff)
downloadlinux-ad29a2fb3c201ef066b0a9fe10a6e14dd0d59c48.tar.xz
linux-ad29a2fb3c201ef066b0a9fe10a6e14dd0d59c48.zip
certs: Fix build error when CONFIG_MODULE_SIG_KEY is PKCS#11 URI
When CONFIG_MODULE_SIG_KEY is PKCS#11 URL (pkcs11:*), signing_key.x509 fails to build: certs/Makefile:77: *** target pattern contains no '%'. Stop. Due to the typo, $(X509_DEP) contains a colon. Fix it. Fixes: b8c96a6b466c ("certs: simplify $(srctree)/ handling and remove config_filename macro") Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'certs/Makefile')
-rw-r--r--certs/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/certs/Makefile b/certs/Makefile
index f7041c29a2e0..0c459cfd09df 100644
--- a/certs/Makefile
+++ b/certs/Makefile
@@ -68,7 +68,7 @@ $(obj)/x509.genkey:
endif # CONFIG_MODULE_SIG_KEY
# If CONFIG_MODULE_SIG_KEY isn't a PKCS#11 URI, depend on it
-ifneq ($(filter-out pkcs11:%, %(CONFIG_MODULE_SIG_KEY)),)
+ifneq ($(filter-out pkcs11:%, $(CONFIG_MODULE_SIG_KEY)),)
X509_DEP := $(CONFIG_MODULE_SIG_KEY)
endif