Browse Source

[PATCH] Remove dtb file created by wrapper script

When the wrapper script is passed a dts file, it runs 'dtc' to create
a dtb file.  This patch deletes that dtb file once its no longer needed.

Signed-off-by: Mark A. Greer <mgreer@mvista.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Mark A. Greer 18 years ago
parent
commit
e9c4b4bd56
1 changed files with 3 additions and 0 deletions
  1. 3 0
      arch/powerpc/boot/wrapper

+ 3 - 0
arch/powerpc/boot/wrapper

@@ -184,6 +184,9 @@ fi
 
 if [ -n "$dtb" ]; then
     addsec $tmp "$dtb" .kernel:dtb
+    if [ -n "$dts" ]; then
+	rm $dtb
+    fi
 fi
 
 if [ "$platform" != "miboot" ]; then