summaryrefslogtreecommitdiff
path: root/arch/powerpc/tools
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2020-05-09 21:58:31 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2020-05-18 17:10:35 +0300
commit4c592a34391ea4987d29c1718f931b50416ca015 (patch)
tree88df96b90bf3d541e6084e750b716e97e7544188 /arch/powerpc/tools
parent265d6e588d87194c2fe2d6c240247f0264e0c19b (diff)
downloadlinux-4c592a34391ea4987d29c1718f931b50416ca015.tar.xz
powerpc/head_check: Automatic verbosity
To aid debugging build problems turn on shell tracing for the head_check script when the build is verbose. Signed-off-by: Geoff Levand <geoff@infradead.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/1ae1aed811ba6760af2e46d331285dd6a4de5b80.1589049250.git.geoff@infradead.org
Diffstat (limited to 'arch/powerpc/tools')
-rw-r--r--arch/powerpc/tools/head_check.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/powerpc/tools/head_check.sh b/arch/powerpc/tools/head_check.sh
index ad9e57209aa4..37061fb9b58e 100644
--- a/arch/powerpc/tools/head_check.sh
+++ b/arch/powerpc/tools/head_check.sh
@@ -31,8 +31,10 @@
# level entry code (boot, interrupt vectors, etc) until r2 is set up. This
# could cause the kernel to die in early boot.
-# Turn this on if you want more debug output:
-# set -x
+# Allow for verbose output
+if [ "$V" = "1" ]; then
+ set -x
+fi
if [ $# -lt 2 ]; then
echo "$0 [path to nm] [path to vmlinux]" 1>&2