aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2012-10-02 01:05:24 -0400
committerRusty Russell <rusty@rustcorp.com.au>2012-10-10 05:36:36 -0400
commitd5b719365ec13ef825f2548ba54903b9d029238c (patch)
treec22d21c4351cb065f2f049a04223dd27fcbf5b6e
parente7d113bcf243a838ba1c32025172ab214349dfad (diff)
MODSIGN: Make mrproper should remove generated files.
It doesn't, because the clean targets don't include kernel/Makefile, and because two files were missing from the list. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-rw-r--r--Makefile5
-rw-r--r--kernel/Makefile1
2 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1c88ec35500a..e70ebfee9c80 100644
--- a/Makefile
+++ b/Makefile
@@ -995,7 +995,10 @@ MRPROPER_DIRS += include/config usr/include include/generated \
995 arch/*/include/generated 995 arch/*/include/generated
996MRPROPER_FILES += .config .config.old .version .old_version \ 996MRPROPER_FILES += .config .config.old .version .old_version \
997 include/linux/version.h \ 997 include/linux/version.h \
998 Module.symvers tags TAGS cscope* GPATH GTAGS GRTAGS GSYMS 998 Module.symvers tags TAGS cscope* GPATH GTAGS GRTAGS GSYMS \
999 signing_key.priv signing_key.x509 x509.genkey \
1000 extra_certificates signing_key.x509.keyid \
1001 signing_key.x509.signer
999 1002
1000# clean - Delete most, but leave enough to build external modules 1003# clean - Delete most, but leave enough to build external modules
1001# 1004#
diff --git a/kernel/Makefile b/kernel/Makefile
index e951adf93567..d3611c8a6b8d 100644
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -208,4 +208,3 @@ x509.genkey:
208 @echo >>x509.genkey "subjectKeyIdentifier=hash" 208 @echo >>x509.genkey "subjectKeyIdentifier=hash"
209 @echo >>x509.genkey "authorityKeyIdentifier=keyid" 209 @echo >>x509.genkey "authorityKeyIdentifier=keyid"
210endif 210endif
211CLEAN_FILES += signing_key.priv signing_key.x509 x509.genkey extra_certificates