diff options
author | Jason Cooper <jason@lakedaemon.net> | 2014-04-07 14:30:29 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2014-04-08 10:41:44 -0400 |
commit | 79192ca8ebd9a25c583aa46024a250fef1e7766f (patch) | |
tree | e84e8eb7e9fe7b8566671952850570461729d08f /Makefile | |
parent | 0a830dad5e3ceffc1f12f3e674322182d809e3a9 (diff) |
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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1066,7 +1066,7 @@ CLEAN_DIRS += $(MODVERDIR) | |||
1066 | 1066 | ||
1067 | # Directories & files removed with 'make mrproper' | 1067 | # Directories & files removed with 'make mrproper' |
1068 | MRPROPER_DIRS += include/config usr/include include/generated \ | 1068 | MRPROPER_DIRS += include/config usr/include include/generated \ |
1069 | arch/*/include/generated | 1069 | arch/*/include/generated .tmp_objdiff |
1070 | MRPROPER_FILES += .config .config.old .version .old_version $(version_h) \ | 1070 | MRPROPER_FILES += .config .config.old .version .old_version $(version_h) \ |
1071 | Module.symvers tags TAGS cscope* GPATH GTAGS GRTAGS GSYMS \ | 1071 | Module.symvers tags TAGS cscope* GPATH GTAGS GRTAGS GSYMS \ |
1072 | signing_key.priv signing_key.x509 x509.genkey \ | 1072 | signing_key.priv signing_key.x509 x509.genkey \ |