aboutsummaryrefslogtreecommitdiffstats
path: root/certs
diff options
context:
space:
mode:
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2017-07-13 08:16:49 -0400
committerJames Morris <james.l.morris@oracle.com>2017-07-13 21:01:37 -0400
commit5ccbdbf9870fe9efe78d77df23d5e7d8641c36f8 (patch)
tree9a855a77e9abb7d2b6ce259a50495dbd35e533c4 /certs
parentb86faee6d111294fa95a2e89b5f771b2da3c9782 (diff)
modsign: add markers to endif-statements in certs/Makefile
It's a bit hard for eye to track certs/Makefile if you are not accustomed to it. This commit adds comments to key endif statements in order to help to keep the context while reading this file. Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'certs')
-rw-r--r--certs/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/certs/Makefile b/certs/Makefile
index 4119bb376ea1..847361ce14d1 100644
--- a/certs/Makefile
+++ b/certs/Makefile
@@ -26,7 +26,7 @@ quiet_cmd_extract_certs = EXTRACT_CERTS $(patsubst "%",%,$(2))
26targets += x509_certificate_list 26targets += x509_certificate_list
27$(obj)/x509_certificate_list: scripts/extract-cert $(SYSTEM_TRUSTED_KEYS_SRCPREFIX)$(SYSTEM_TRUSTED_KEYS_FILENAME) FORCE 27$(obj)/x509_certificate_list: scripts/extract-cert $(SYSTEM_TRUSTED_KEYS_SRCPREFIX)$(SYSTEM_TRUSTED_KEYS_FILENAME) FORCE
28 $(call if_changed,extract_certs,$(SYSTEM_TRUSTED_KEYS_SRCPREFIX)$(CONFIG_SYSTEM_TRUSTED_KEYS)) 28 $(call if_changed,extract_certs,$(SYSTEM_TRUSTED_KEYS_SRCPREFIX)$(CONFIG_SYSTEM_TRUSTED_KEYS))
29endif 29endif # CONFIG_SYSTEM_TRUSTED_KEYRING
30 30
31clean-files := x509_certificate_list .x509.list 31clean-files := x509_certificate_list .x509.list
32 32
@@ -87,7 +87,7 @@ $(obj)/x509.genkey:
87 @echo >>$@ "keyUsage=digitalSignature" 87 @echo >>$@ "keyUsage=digitalSignature"
88 @echo >>$@ "subjectKeyIdentifier=hash" 88 @echo >>$@ "subjectKeyIdentifier=hash"
89 @echo >>$@ "authorityKeyIdentifier=keyid" 89 @echo >>$@ "authorityKeyIdentifier=keyid"
90endif 90endif # CONFIG_MODULE_SIG_KEY
91 91
92$(eval $(call config_filename,MODULE_SIG_KEY)) 92$(eval $(call config_filename,MODULE_SIG_KEY))
93 93
@@ -102,4 +102,4 @@ $(obj)/system_certificates.o: $(obj)/signing_key.x509
102targets += signing_key.x509 102targets += signing_key.x509
103$(obj)/signing_key.x509: scripts/extract-cert $(X509_DEP) FORCE 103$(obj)/signing_key.x509: scripts/extract-cert $(X509_DEP) FORCE
104 $(call if_changed,extract_certs,$(MODULE_SIG_KEY_SRCPREFIX)$(CONFIG_MODULE_SIG_KEY)) 104 $(call if_changed,extract_certs,$(MODULE_SIG_KEY_SRCPREFIX)$(CONFIG_MODULE_SIG_KEY))
105endif 105endif # CONFIG_MODULE_SIG