diff options
author | David Howells <dhowells@redhat.com> | 2015-08-14 10:20:41 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2015-08-14 11:06:13 -0400 |
commit | cfc411e7fff3e15cd6354ff69773907e2c9d1c0c (patch) | |
tree | c67e679c1c2bbe4a657ce58d60e995c63535952b /Makefile | |
parent | 0e38c35815f50e5a347977d76fb5eb4c3bf020b5 (diff) |
Move certificate handling to its own directory
Move certificate handling out of the kernel/ directory and into a certs/
directory to get all the weird stuff in one place and move the generated
signing keys into this directory.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -871,7 +871,7 @@ INITRD_COMPRESS-$(CONFIG_RD_LZ4) := lz4 | |||
871 | 871 | ||
872 | ifdef CONFIG_MODULE_SIG_ALL | 872 | ifdef CONFIG_MODULE_SIG_ALL |
873 | MODSECKEY = $(CONFIG_MODULE_SIG_KEY) | 873 | MODSECKEY = $(CONFIG_MODULE_SIG_KEY) |
874 | MODPUBKEY = ./signing_key.x509 | 874 | MODPUBKEY = certs/signing_key.x509 |
875 | export MODPUBKEY | 875 | export MODPUBKEY |
876 | mod_sign_cmd = scripts/sign-file $(CONFIG_MODULE_SIG_HASH) $(MODSECKEY) $(MODPUBKEY) | 876 | mod_sign_cmd = scripts/sign-file $(CONFIG_MODULE_SIG_HASH) $(MODSECKEY) $(MODPUBKEY) |
877 | else | 877 | else |
@@ -881,7 +881,7 @@ export mod_sign_cmd | |||
881 | 881 | ||
882 | 882 | ||
883 | ifeq ($(KBUILD_EXTMOD),) | 883 | ifeq ($(KBUILD_EXTMOD),) |
884 | core-y += kernel/ mm/ fs/ ipc/ security/ crypto/ block/ | 884 | core-y += kernel/ certs/ mm/ fs/ ipc/ security/ crypto/ block/ |
885 | 885 | ||
886 | vmlinux-dirs := $(patsubst %/,%,$(filter %/, $(init-y) $(init-m) \ | 886 | vmlinux-dirs := $(patsubst %/,%,$(filter %/, $(init-y) $(init-m) \ |
887 | $(core-y) $(core-m) $(drivers-y) $(drivers-m) \ | 887 | $(core-y) $(core-m) $(drivers-y) $(drivers-m) \ |