summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMichal Marek2013-01-25 04:11:12 +0100
committerRusty Russell2013-01-25 07:25:36 +0100
commit4bc9410c0cf5079219bdfa3295d83dfacefe1bb2 (patch)
treedf6c60a1d43224b72ba05abb21210b6b57915fd1 /Makefile
parentMODSIGN: Simplify Makefile with a Kconfig helper (diff)
downloadkernel-qcow2-linux-4bc9410c0cf5079219bdfa3295d83dfacefe1bb2.tar.gz
kernel-qcow2-linux-4bc9410c0cf5079219bdfa3295d83dfacefe1bb2.tar.xz
kernel-qcow2-linux-4bc9410c0cf5079219bdfa3295d83dfacefe1bb2.zip
MODSIGN: Specify the hash algorithm on sign-file command line
Make the script usable without a .config file. Signed-off-by: Michal Marek <mmarek@suse.cz> Acked-by: David Howells <dhowells@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 253a455d8d8d..77ea707d8543 100644
--- a/Makefile
+++ b/Makefile
@@ -723,7 +723,7 @@ ifeq ($(CONFIG_MODULE_SIG),y)
MODSECKEY = ./signing_key.priv
MODPUBKEY = ./signing_key.x509
export MODPUBKEY
-mod_sign_cmd = perl $(srctree)/scripts/sign-file $(MODSECKEY) $(MODPUBKEY)
+mod_sign_cmd = perl $(srctree)/scripts/sign-file $(CONFIG_MODULE_SIG_HASH) $(MODSECKEY) $(MODPUBKEY)
else
mod_sign_cmd = true
endif