summaryrefslogtreecommitdiff
authorDavid Howells <dhowells@redhat.com>2012-09-26 09:09:50 (GMT)
committer Rusty Russell <rusty@rustcorp.com.au>2012-10-10 09:31:19 (GMT)
commitaddbcdbbf549c9127c2bbb39caaa08bb47b996f4 (patch)
treeb1a4d4c7f3afcec59bf4cfdb37c51134d62bbf9e
parent1d0059f3a468825b5fc5405c636a2f6e02707ffa (diff)
downloadcommon-addbcdbbf549c9127c2bbb39caaa08bb47b996f4.zip
common-addbcdbbf549c9127c2bbb39caaa08bb47b996f4.tar.gz
common-addbcdbbf549c9127c2bbb39caaa08bb47b996f4.tar.bz2
MODSIGN: Provide gitignore and make clean rules for extra files
Provide gitignore and make clean rules for extra files to hide and clean up the extra files produced by module signing stuff once it is added. Also add a clean up rule for the module content extractor program used to extract the data to be signed. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat
-rw-r--r--.gitignore14
-rw-r--r--Makefile1
2 files changed, 15 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 57af07c..0f2f40f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,6 +14,10 @@
*.o.*
*.a
*.s
+*.ko.unsigned
+*.ko.stripped
+*.ko.stripped.dig
+*.ko.stripped.sig
*.ko
*.so
*.so.dbg
@@ -84,3 +88,13 @@ GTAGS
*.orig
*~
\#*#
+
+#
+# Leavings from module signing
+#
+extra_certificates
+signing_key.priv
+signing_key.x509
+signing_key.x509.keyid
+signing_key.x509.signer
+x509.genkey
diff --git a/Makefile b/Makefile
index ae6928c..1c88ec3 100644
--- a/Makefile
+++ b/Makefile
@@ -1239,6 +1239,7 @@ clean: $(clean-dirs)
$(call cmd,rmfiles)
@find $(if $(KBUILD_EXTMOD), $(KBUILD_EXTMOD), .) $(RCS_FIND_IGNORE) \
\( -name '*.[oas]' -o -name '*.ko' -o -name '.*.cmd' \
+ -o -name '*.ko.*' \
-o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \
-o -name '*.symtypes' -o -name 'modules.order' \
-o -name modules.builtin -o -name '.tmp_*.o.*' \