Skip to content

Commit

Permalink
[PATCH] Remove dtb file created by wrapper script
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark A. Greer authored and Paul Mackerras committed Nov 13, 2006
1 parent a416dd8 commit e9c4b4b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/powerpc/boot/wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e9c4b4b

Please sign in to comment.