diff options
Diffstat (limited to 'arch/powerpc/boot/wrapper')
-rwxr-xr-x | arch/powerpc/boot/wrapper | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/boot/wrapper b/arch/powerpc/boot/wrapper index 31147a037728..221b8c87f57e 100755 --- a/arch/powerpc/boot/wrapper +++ b/arch/powerpc/boot/wrapper | |||
@@ -287,8 +287,6 @@ ps3) | |||
287 | overlay_dest="256" | 287 | overlay_dest="256" |
288 | overlay_size="256" | 288 | overlay_size="256" |
289 | 289 | ||
290 | rm -f "$object/otheros.bld" | ||
291 | |||
292 | ${CROSS}objcopy -O binary "$ofile" "$ofile.bin" | 290 | ${CROSS}objcopy -O binary "$ofile" "$ofile.bin" |
293 | 291 | ||
294 | dd if="$ofile.bin" of="$ofile.bin" conv=notrunc \ | 292 | dd if="$ofile.bin" of="$ofile.bin" conv=notrunc \ |
@@ -299,6 +297,8 @@ ps3) | |||
299 | skip=$system_reset_overlay seek=$overlay_dest \ | 297 | skip=$system_reset_overlay seek=$overlay_dest \ |
300 | count=$overlay_size bs=1 | 298 | count=$overlay_size bs=1 |
301 | 299 | ||
302 | gzip --force -9 --stdout "$ofile.bin" > "$object/otheros.bld" | 300 | odir="$(dirname "$ofile.bin")" |
301 | rm -f "$odir/otheros.bld" | ||
302 | gzip --force -9 --stdout "$ofile.bin" > "$odir/otheros.bld" | ||
303 | ;; | 303 | ;; |
304 | esac | 304 | esac |