mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
powerpc: Call gzip with -n
The timestamps recorded in the .gz files add no value. Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Michal Marek <mmarek@suse.cz> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
parent
a0496d450a
commit
c4f56af0f6
@ -258,7 +258,7 @@ if [ -z "$cacheit" -o ! -f "$vmz$gzip" -o "$vmz$gzip" -ot "$kernel" ]; then
|
|||||||
${CROSS}objcopy $objflags "$kernel" "$vmz.$$"
|
${CROSS}objcopy $objflags "$kernel" "$vmz.$$"
|
||||||
|
|
||||||
if [ -n "$gzip" ]; then
|
if [ -n "$gzip" ]; then
|
||||||
gzip -f -9 "$vmz.$$"
|
gzip -n -f -9 "$vmz.$$"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$cacheit" ]; then
|
if [ -n "$cacheit" ]; then
|
||||||
@ -343,7 +343,7 @@ coff)
|
|||||||
$objbin/hack-coff "$ofile"
|
$objbin/hack-coff "$ofile"
|
||||||
;;
|
;;
|
||||||
cuboot*)
|
cuboot*)
|
||||||
gzip -f -9 "$ofile"
|
gzip -n -f -9 "$ofile"
|
||||||
${MKIMAGE} -A ppc -O linux -T kernel -C gzip -a "$base" -e "$entry" \
|
${MKIMAGE} -A ppc -O linux -T kernel -C gzip -a "$base" -e "$entry" \
|
||||||
$uboot_version -d "$ofile".gz "$ofile"
|
$uboot_version -d "$ofile".gz "$ofile"
|
||||||
;;
|
;;
|
||||||
@ -390,6 +390,6 @@ ps3)
|
|||||||
|
|
||||||
odir="$(dirname "$ofile.bin")"
|
odir="$(dirname "$ofile.bin")"
|
||||||
rm -f "$odir/otheros.bld"
|
rm -f "$odir/otheros.bld"
|
||||||
gzip --force -9 --stdout "$ofile.bin" > "$odir/otheros.bld"
|
gzip -n --force -9 --stdout "$ofile.bin" > "$odir/otheros.bld"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user