Skip to content

Commit ad29a2f

Browse files
committed
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: b8c96a6 ("certs: simplify $(srctree)/ handling and remove config_filename macro") Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
1 parent e92e263 commit ad29a2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

certs/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ $(obj)/x509.genkey:
6868
endif # CONFIG_MODULE_SIG_KEY
6969

7070
# If CONFIG_MODULE_SIG_KEY isn't a PKCS#11 URI, depend on it
71-
ifneq ($(filter-out pkcs11:%, %(CONFIG_MODULE_SIG_KEY)),)
71+
ifneq ($(filter-out pkcs11:%, $(CONFIG_MODULE_SIG_KEY)),)
7272
X509_DEP := $(CONFIG_MODULE_SIG_KEY)
7373
endif
7474

0 commit comments

Comments
 (0)