Skip to contentSkip to conversation

objdump: restore quiet build output

PATCH In review Arnd Bergmann 2 participants 2 messages Sep 10, 2019 – Sep 16, 2019 objtool

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 objdump: restore quiet build output

After a recent sync-check.sh update, a 'make -s' build prints a single line of output from the 'cd -' command:

/git/linux/tools/objtool

This is clearly unintended, so revert back to a completely quiet build by redirecting the cd output to /dev/null.

Fixes 2ffd84ae973b ("objtool: Update sync-check.sh from perf's check-headers.sh")
---
 tools/objtool/sync-check.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/objtool/sync-check.sh +1 -1
index 0a832e265a50..94b8d76c2851 100755
@@ -48,4 +48,4 @@ 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[\">]"'
 
-cd -
+cd - > /dev/null
Signature · 1 line
2.20.0
Acked-by on v1 1/1
#1 lore raw
Quoted 27 lines · Arnd Bergmann

After a recent sync-check.sh update, a 'make -s' build prints a single line of output from the 'cd -' command:

/git/linux/tools/objtool

This is clearly unintended, so revert back to a completely quiet build by redirecting the cd output to /dev/null.

Fixes 2ffd84ae973b ("objtool: Update sync-check.sh from perf's check-headers.sh")
---
 tools/objtool/sync-check.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/objtool/sync-check.sh +1 -1
index 0a832e265a50..94b8d76c2851 100755
@@ -48,4 +48,4 @@ 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[\">]"'
 
-cd -
+cd - > /dev/null
Signature · 1 line
2.20.0

Arnaldo, do you want to pick this one up?

Signature · 1 line
Josh