summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJason Cooper <jason@lakedaemon.net>2014-04-07 18:30:29 +0000
committerMichal Marek <mmarek@suse.cz>2014-04-08 16:41:44 +0200
commit79192ca8ebd9a25c583aa46024a250fef1e7766f (patch)
treee84e8eb7e9fe7b8566671952850570461729d08f /Makefile
parent0a830dad5e3ceffc1f12f3e674322182d809e3a9 (diff)
downloadlinux-79192ca8ebd9a25c583aa46024a250fef1e7766f.tar.bz2
scripts: objdiff: detect object code changes between two commits
objdiff is useful when doing large code cleanups. For example, when removing checkpatch warnings and errors from new drivers in the staging tree. objdiff can be used in conjunction with a git rebase to confirm that each commit made no changes to the resulting object code. It has the same return values as diff(1). This was written specifically to support adding the skein and threefish cryto drivers to the staging tree. I needed a programmatic way to confirm that commits changing >90% of the lines didn't inadvertently change the code. Temporary files (objdump output) are stored in /path/to/linux/.tmp_objdiff 'make mrproper' will remove this directory. Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2acd9dde1339..c68c23fe31b9 100644
--- a/Makefile
+++ b/Makefile
@@ -1066,7 +1066,7 @@ CLEAN_DIRS += $(MODVERDIR)
# Directories & files removed with 'make mrproper'
MRPROPER_DIRS += include/config usr/include include/generated \
- arch/*/include/generated
+ arch/*/include/generated .tmp_objdiff
MRPROPER_FILES += .config .config.old .version .old_version $(version_h) \
Module.symvers tags TAGS cscope* GPATH GTAGS GRTAGS GSYMS \
signing_key.priv signing_key.x509 x509.genkey \