OSDN Git Service

objtool: Move kernel headers/code sync check to a script
authorJosh Poimboeuf <jpoimboe@redhat.com>
Mon, 6 Nov 2017 13:21:51 +0000 (07:21 -0600)
committerIngo Molnar <mingo@kernel.org>
Tue, 7 Nov 2017 09:48:34 +0000 (10:48 +0100)
commit3bd51c5a371de917e4e7401c9df006b5998579df
tree03b8997b2fce9066a159a56c069596cd5bb14b82
parent6a77cff819ae3e31992bde6432c9b5720748a89b
objtool: Move kernel headers/code sync check to a script

Replace the nasty diff checks in the objtool Makefile with a clean bash
script, and make the warnings more specific.

Heavily inspired by tools/perf/check-headers.sh.

Suggested-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/ab015f15ccd8c0c6008493c3c6ee3d495eaf2927.1509974346.git.jpoimboe@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
tools/objtool/Makefile
tools/objtool/sync-check.sh [new file with mode: 0755]