diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-01-04 12:59:11 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-01-04 12:59:46 +0900 |
commit | ff565310cfc45e3f21c58a9f3d8af227aeaa21b0 (patch) | |
tree | b9187868a26efba63b97467d8597915956d8fc12 /plat/socionext/uniphier | |
parent | 34c2b9c2f144e213533c00bbdedb8da5b786311b (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')
-rw-r--r-- | plat/socionext/uniphier/platform.mk | 2 |
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 > $@ |