Browse Source

[POWERPC] bootwrapper: Allow wrapper script to execute verbosely

Allow wrapper script to print verbose progress when the V is set in the
environment.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Grant Likely 17 years ago
parent
commit
7f66c1fd03
1 changed files with 5 additions and 0 deletions
  1. 5 0
      arch/powerpc/boot/wrapper

+ 5 - 0
arch/powerpc/boot/wrapper

@@ -21,6 +21,11 @@
 #		(default ./arch/powerpc/boot)
 #		(default ./arch/powerpc/boot)
 # -W dir	specify working directory for temporary files (default .)
 # -W dir	specify working directory for temporary files (default .)
 
 
+# Allow for verbose output
+if [ "$V" = 1 ]; then
+    set -x
+fi
+
 # defaults
 # defaults
 kernel=
 kernel=
 ofile=zImage
 ofile=zImage