diff --git a/arch/arm64/boot/Makefile b/arch/arm64/boot/Makefile index 1f012c506434..be24f74fa665 100644 --- a/arch/arm64/boot/Makefile +++ b/arch/arm64/boot/Makefile @@ -28,7 +28,7 @@ $(obj)/Image.gz: $(obj)/Image FORCE $(call if_changed,gzip) $(obj)/Image.lz4: $(obj)/Image FORCE - $(call if_changed,lz4) + $(call if_changed,lz4c) $(obj)/Image.lzma: $(obj)/Image FORCE $(call if_changed,lzma) diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 61e596650ed3..3e97d9019dcb 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -337,6 +337,11 @@ cmd_lz4 = (cat $(filter-out FORCE,$^) | \ lz4c -l -c1 stdin stdout && $(call size_append, $(filter-out FORCE,$^))) > $@ || \ (rm -f $@ ; false) +quiet_cmd_lz4c = LZ4C $@ +cmd_lz4c = (cat $(filter-out FORCE,$^) | \ + lz4c -c1 stdin stdout && $(call size_append, $(filter-out FORCE,$^))) > $@ || \ + (rm -f $@ ; false) + # U-Boot mkimage # ---------------------------------------------------------------------------