From: Kyungsik Lee Date: Wed, 19 Jun 2013 00:08:45 +0000 (+1000) Subject: kbuild: fix for updated LZ4 tool with the new streaming format X-Git-Tag: next-20130619~2^2~14 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=99ef4dd4f856e8dcd80d9cc93c799eb0550790c3;p=karo-tx-linux.git kbuild: fix for updated LZ4 tool with the new streaming format LZ4 has been updated with LZ4 Streaming Format specification(v1.3). lz4demo is replaced by lz4c. lz4c supports both the new streaming and legacy format with -l option. This patch makes use of lz4c to support legacy format which is used for LZ4 De/compression in the linux kernel. Link: https://code.google.com/p/lz4/source/checkout Signed-off-by: Kyungsik Lee Cc: "H. Peter Anvin" Cc: Ingo Molnar Cc: Thomas Gleixner Cc: Russell King Cc: Borislav Petkov Cc: Florian Fainelli Cc: Yann Collet Cc: Chanho Min Signed-off-by: Andrew Morton --- diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 618498a29445..f105b4b09f88 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -313,7 +313,7 @@ cmd_lzo = (cat $(filter-out FORCE,$^) | \ quiet_cmd_lz4 = LZ4 $@ cmd_lz4 = (cat $(filter-out FORCE,$^) | \ - lz4demo -c1 stdin stdout && $(call size_append, $(filter-out FORCE,$^))) > $@ || \ + lz4c -l -c1 stdin stdout && $(call size_append, $(filter-out FORCE,$^))) > $@ || \ (rm -f $@ ; false) # U-Boot mkimage