summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2015-07-20 16:16:30 -0400
committerDavid Howells <dhowells@redhat.com>2015-08-07 11:26:14 -0400
commitfb1179499134bc718dc7557c7a6a95dc72f224cb (patch)
tree5a0b7e87708c275071f4c3079099854a13eee812 /Makefile
parent1329e8cc69b93a0b1bc6d197b30dcff628c18dbf (diff)
modsign: Use single PEM file for autogenerated key
The current rule for generating signing_key.priv and signing_key.x509 is a classic example of a bad rule which has a tendency to break parallel make. When invoked to create *either* target, it generates the other target as a side-effect that make didn't predict. So let's switch to using a single file signing_key.pem which contains both key and certificate. That matches what we do in the case of an external key specified by CONFIG_MODULE_SIG_KEY anyway, so it's also slightly cleaner. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 531dd16c9751..6ab99d8cc23c 100644
--- a/Makefile
+++ b/Makefile
@@ -1173,8 +1173,8 @@ MRPROPER_DIRS += include/config usr/include include/generated \
1173 arch/*/include/generated .tmp_objdiff 1173 arch/*/include/generated .tmp_objdiff
1174MRPROPER_FILES += .config .config.old .version .old_version \ 1174MRPROPER_FILES += .config .config.old .version .old_version \
1175 Module.symvers tags TAGS cscope* GPATH GTAGS GRTAGS GSYMS \ 1175 Module.symvers tags TAGS cscope* GPATH GTAGS GRTAGS GSYMS \
1176 signing_key.priv signing_key.x509 x509.genkey \ 1176 signing_key.pem signing_key.priv signing_key.x509 \
1177 extra_certificates signing_key.x509.keyid \ 1177 x509.genkey extra_certificates signing_key.x509.keyid \
1178 signing_key.x509.signer vmlinux-gdb.py 1178 signing_key.x509.signer vmlinux-gdb.py
1179 1179
1180# clean - Delete most, but leave enough to build external modules 1180# clean - Delete most, but leave enough to build external modules