Commit ff565310 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

uniphier: simplify GZIP compress rule



It is not necessary to read data from stdin.  The input file name
is ripped off by -n option, anyway.  I still use the redirect for
the output to specify the output file name.
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 34c2b9c2
...@@ -117,4 +117,4 @@ endif ...@@ -117,4 +117,4 @@ endif
bl1_gzip: $(BUILD_PLAT)/bl1.bin.gzip bl1_gzip: $(BUILD_PLAT)/bl1.bin.gzip
%.gzip: % %.gzip: %
@echo " GZIP $@" @echo " GZIP $@"
$(Q)(cat $< | gzip -n -f -9 > $@) || (rm -f $@ || false) $(Q)gzip -n -f -9 $< --stdout > $@
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment