summaryrefslogtreecommitdiff
path: root/plat/socionext/uniphier/platform.mk
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-01-04 12:59:11 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-01-04 12:59:46 +0900
commitff565310cfc45e3f21c58a9f3d8af227aeaa21b0 (patch)
treeb9187868a26efba63b97467d8597915956d8fc12 /plat/socionext/uniphier/platform.mk
parent34c2b9c2f144e213533c00bbdedb8da5b786311b (diff)
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 <yamada.masahiro@socionext.com>
Diffstat (limited to 'plat/socionext/uniphier/platform.mk')
-rw-r--r--plat/socionext/uniphier/platform.mk2
1 files changed, 1 insertions, 1 deletions
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 > $@