Skip to content

Commit 5ccbdbf

Browse files
Jarkko SakkinenJames Morris
authored andcommitted
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>
1 parent b86faee commit 5ccbdbf

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎certs/Makefile‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ quiet_cmd_extract_certs = EXTRACT_CERTS $(patsubst "%",%,$(2))
2626
targets += x509_certificate_list
2727
$(obj)/x509_certificate_list: scripts/extract-cert $(SYSTEM_TRUSTED_KEYS_SRCPREFIX)$(SYSTEM_TRUSTED_KEYS_FILENAME) FORCE
2828
$(call if_changed,extract_certs,$(SYSTEM_TRUSTED_KEYS_SRCPREFIX)$(CONFIG_SYSTEM_TRUSTED_KEYS))
29-
endif
29+
endif # CONFIG_SYSTEM_TRUSTED_KEYRING
3030

3131
clean-files := x509_certificate_list .x509.list
3232

@@ -87,7 +87,7 @@ $(obj)/x509.genkey:
8787
@echo >>$@ "keyUsage=digitalSignature"
8888
@echo >>$@ "subjectKeyIdentifier=hash"
8989
@echo >>$@ "authorityKeyIdentifier=keyid"
90-
endif
90+
endif # CONFIG_MODULE_SIG_KEY
9191

9292
$(eval $(call config_filename,MODULE_SIG_KEY))
9393

@@ -102,4 +102,4 @@ $(obj)/system_certificates.o: $(obj)/signing_key.x509
102102
targets += signing_key.x509
103103
$(obj)/signing_key.x509: scripts/extract-cert $(X509_DEP) FORCE
104104
$(call if_changed,extract_certs,$(MODULE_SIG_KEY_SRCPREFIX)$(CONFIG_MODULE_SIG_KEY))
105-
endif
105+
endif # CONFIG_MODULE_SIG

0 commit comments

Comments
 (0)