aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2012-09-26 05:09:50 -0400
committerRusty Russell <rusty@rustcorp.com.au>2012-10-10 05:31:19 -0400
commitaddbcdbbf549c9127c2bbb39caaa08bb47b996f4 (patch)
treeb1a4d4c7f3afcec59bf4cfdb37c51134d62bbf9e
parent1d0059f3a468825b5fc5405c636a2f6e02707ffa (diff)
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>
-rw-r--r--.gitignore14
-rw-r--r--Makefile1
2 files changed, 15 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 57af07cf7e68..0f2f40f71915 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,6 +14,10 @@
14*.o.* 14*.o.*
15*.a 15*.a
16*.s 16*.s
17*.ko.unsigned
18*.ko.stripped
19*.ko.stripped.dig
20*.ko.stripped.sig
17*.ko 21*.ko
18*.so 22*.so
19*.so.dbg 23*.so.dbg
@@ -84,3 +88,13 @@ GTAGS
84*.orig 88*.orig
85*~ 89*~
86\#*# 90\#*#
91
92#
93# Leavings from module signing
94#
95extra_certificates
96signing_key.priv
97signing_key.x509
98signing_key.x509.keyid
99signing_key.x509.signer
100x509.genkey
diff --git a/Makefile b/Makefile
index ae6928cc59d3..1c88ec35500a 100644
--- a/Makefile
+++ b/Makefile
@@ -1239,6 +1239,7 @@ clean: $(clean-dirs)
1239 $(call cmd,rmfiles) 1239 $(call cmd,rmfiles)
1240 @find $(if $(KBUILD_EXTMOD), $(KBUILD_EXTMOD), .) $(RCS_FIND_IGNORE) \ 1240 @find $(if $(KBUILD_EXTMOD), $(KBUILD_EXTMOD), .) $(RCS_FIND_IGNORE) \
1241 \( -name '*.[oas]' -o -name '*.ko' -o -name '.*.cmd' \ 1241 \( -name '*.[oas]' -o -name '*.ko' -o -name '.*.cmd' \
1242 -o -name '*.ko.*' \
1242 -o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \ 1243 -o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \
1243 -o -name '*.symtypes' -o -name 'modules.order' \ 1244 -o -name '*.symtypes' -o -name 'modules.order' \
1244 -o -name modules.builtin -o -name '.tmp_*.o.*' \ 1245 -o -name modules.builtin -o -name '.tmp_*.o.*' \