]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
objtool: Silence build output
authorOlof Johansson <olof@lixom.net>
Mon, 20 Jan 2020 18:14:07 +0000 (12:14 -0600)
committerIngo Molnar <mingo@kernel.org>
Wed, 22 Jan 2020 06:54:34 +0000 (07:54 +0100)
The sync-check.sh script prints out the path due to a "cd -" at the end
of the script, even on silent builds. This isn't even needed, since the
script is executed in our build instead of sourced (so it won't change
the working directory of the surrounding build anyway).

Just remove the cd to make the build silent.

Fixes: 2ffd84ae973b ("objtool: Update sync-check.sh from perf's check-headers.sh")
Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/cb002857fafa8186cfb9c3e43fb62e4108a1bab9.1579543924.git.jpoimboe@redhat.com
tools/objtool/sync-check.sh

index 9bd04bbed01e2b2d34a2ef6eb10ff947d53a06d3..2a1261bfbb625302d81a8fa2e26efb1cb91ffd9d 100755 (executable)
@@ -48,5 +48,3 @@ check arch/x86/include/asm/inat.h     '-I "^#include [\"<]\(asm/\)*inat_types.h[
 check arch/x86/include/asm/insn.h     '-I "^#include [\"<]\(asm/\)*inat.h[\">]"'
 check arch/x86/lib/inat.c             '-I "^#include [\"<]\(../include/\)*asm/insn.h[\">]"'
 check arch/x86/lib/insn.c             '-I "^#include [\"<]\(../include/\)*asm/in\(at\|sn\).h[\">]" -I "^#include [\"<]\(../include/\)*asm/emulate_prefix.h[\">]"'
-
-cd -