projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
265d6e5
)
powerpc/head_check: Automatic verbosity
author
Geoff Levand
<geoff@infradead.org>
Sat, 9 May 2020 18:58:31 +0000
(18:58 +0000)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Mon, 18 May 2020 14:10:35 +0000
(
00:10
+1000)
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
arch/powerpc/tools/head_check.sh
patch
|
blob
|
history
diff --git
a/arch/powerpc/tools/head_check.sh
b/arch/powerpc/tools/head_check.sh
index ad9e57209aa4c2867bd5687ae18ab6de05d0da44..37061fb9b58ec4804444adff58f95287cc7cd58f 100644
(file)
--- 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