summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2012-10-02 14:35:24 +0930
committerRusty Russell <rusty@rustcorp.com.au>2012-10-10 20:06:36 +1030
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 \
arch/*/include/generated
MRPROPER_FILES += .config .config.old .version .old_version \
include/linux/version.h \
- Module.symvers tags TAGS cscope* GPATH GTAGS GRTAGS GSYMS
+ Module.symvers tags TAGS cscope* GPATH GTAGS GRTAGS GSYMS \
+ signing_key.priv signing_key.x509 x509.genkey \
+ extra_certificates signing_key.x509.keyid \
+ signing_key.x509.signer
# clean - Delete most, but leave enough to build external modules
#
diff --git a/kernel/Makefile b/kernel/Makefile
index e951adf93567..d3611c8a6b8d 100644
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -208,4 +208,3 @@ x509.genkey:
@echo >>x509.genkey "subjectKeyIdentifier=hash"
@echo >>x509.genkey "authorityKeyIdentifier=keyid"
endif
-CLEAN_FILES += signing_key.priv signing_key.x509 x509.genkey extra_certificates