浏览代码

[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 年之前
父节点
当前提交
e9c4b4bd56
共有 1 个文件被更改,包括 3 次插入0 次删除
  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