* [PATCH] powerpc: Remove dtb file created by wrapper script
@ 2006-11-09 0:50 Mark A. Greer
0 siblings, 0 replies; only message in thread
From: Mark A. Greer @ 2006-11-09 0:50 UTC (permalink / raw)
To: Paul Mackerras; +Cc: linuxppc-dev
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>
---
wrapper | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/arch/powerpc/boot/wrapper b/arch/powerpc/boot/wrapper
index b5fb1fe..024e4d4 100755
--- a/arch/powerpc/boot/wrapper
+++ b/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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2006-11-09 0:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-09 0:50 [PATCH] powerpc: Remove dtb file created by wrapper script Mark A. Greer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox