diff options
author | Mark A. Greer <mgreer@mvista.com> | 2006-11-08 19:50:44 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-11-12 22:48:58 -0500 |
commit | e9c4b4bd56a7dfdc8879a5876e498991c9194321 (patch) | |
tree | cfcfcf733d61f5996926fff54ab1f77191a8d955 /arch/powerpc/boot/wrapper | |
parent | a416dd8d9cd3a3fa77b9839e0e6fc3c54927d8c3 (diff) |
[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>
Diffstat (limited to 'arch/powerpc/boot/wrapper')
-rwxr-xr-x | arch/powerpc/boot/wrapper | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/boot/wrapper b/arch/powerpc/boot/wrapper index b5fb1fee76f8..024e4d425c59 100755 --- a/arch/powerpc/boot/wrapper +++ b/arch/powerpc/boot/wrapper | |||
@@ -184,6 +184,9 @@ fi | |||
184 | 184 | ||
185 | if [ -n "$dtb" ]; then | 185 | if [ -n "$dtb" ]; then |
186 | addsec $tmp "$dtb" .kernel:dtb | 186 | addsec $tmp "$dtb" .kernel:dtb |
187 | if [ -n "$dts" ]; then | ||
188 | rm $dtb | ||
189 | fi | ||
187 | fi | 190 | fi |
188 | 191 | ||
189 | if [ "$platform" != "miboot" ]; then | 192 | if [ "$platform" != "miboot" ]; then |