From: Masahiro Yamada Date: Thu, 4 Jan 2018 03:59:11 +0000 (+0900) Subject: uniphier: simplify GZIP compress rule X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ff565310cfc45e3f21c58a9f3d8af227aeaa21b0;p=project%2Fbcm63xx%2Fatf.git 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: Masahiro Yamada --- diff --git a/plat/socionext/uniphier/platform.mk b/plat/socionext/uniphier/platform.mk index 41d04448..f99bbf58 100644 --- a/plat/socionext/uniphier/platform.mk +++ b/plat/socionext/uniphier/platform.mk @@ -117,4 +117,4 @@ endif bl1_gzip: $(BUILD_PLAT)/bl1.bin.gzip %.gzip: % @echo " GZIP $@" - $(Q)(cat $< | gzip -n -f -9 > $@) || (rm -f $@ || false) + $(Q)gzip -n -f -9 $< --stdout > $@