diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2015-07-20 16:16:30 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2015-08-07 11:26:14 -0400 |
commit | 1329e8cc69b93a0b1bc6d197b30dcff628c18dbf (patch) | |
tree | c468b5fe99777d0e5072b1bc41f43ef47253cf8e /scripts/Makefile | |
parent | 19e91b69d77bab16405cc284b451378e89a4110c (diff) |
modsign: Extract signing cert from CONFIG_MODULE_SIG_KEY if needed
Where an external PEM file or PKCS#11 URI is given, we can get the cert
from it for ourselves instead of making the user drop signing_key.x509
in place for us.
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'scripts/Makefile')
-rw-r--r-- | scripts/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/Makefile b/scripts/Makefile index b12fe020664d..236f683510bd 100644 --- a/scripts/Makefile +++ b/scripts/Makefile | |||
@@ -16,11 +16,12 @@ hostprogs-$(CONFIG_VT) += conmakehash | |||
16 | hostprogs-$(BUILD_C_RECORDMCOUNT) += recordmcount | 16 | hostprogs-$(BUILD_C_RECORDMCOUNT) += recordmcount |
17 | hostprogs-$(CONFIG_BUILDTIME_EXTABLE_SORT) += sortextable | 17 | hostprogs-$(CONFIG_BUILDTIME_EXTABLE_SORT) += sortextable |
18 | hostprogs-$(CONFIG_ASN1) += asn1_compiler | 18 | hostprogs-$(CONFIG_ASN1) += asn1_compiler |
19 | hostprogs-$(CONFIG_MODULE_SIG) += sign-file | 19 | hostprogs-$(CONFIG_MODULE_SIG) += sign-file extract-cert |
20 | 20 | ||
21 | HOSTCFLAGS_sortextable.o = -I$(srctree)/tools/include | 21 | HOSTCFLAGS_sortextable.o = -I$(srctree)/tools/include |
22 | HOSTCFLAGS_asn1_compiler.o = -I$(srctree)/include | 22 | HOSTCFLAGS_asn1_compiler.o = -I$(srctree)/include |
23 | HOSTLOADLIBES_sign-file = -lcrypto | 23 | HOSTLOADLIBES_sign-file = -lcrypto |
24 | HOSTLOADLIBES_extract-cert = -lcrypto | ||
24 | 25 | ||
25 | always := $(hostprogs-y) $(hostprogs-m) | 26 | always := $(hostprogs-y) $(hostprogs-m) |
26 | 27 | ||