initramfs: add support for in-kernel initramfs compressed with LZO
[linux-drm-fsl-dcu.git] / scripts / gen_initramfs_list.sh
index 76af5f9623e3a41027e20c68fcd21610529bf4b4..a932ae52f921b5967b705432d0ef972f60c73c24 100644 (file)
@@ -242,6 +242,7 @@ case "$arg" in
                echo "$output_file" | grep -q "\.gz$" && compr="gzip -9 -f"
                echo "$output_file" | grep -q "\.bz2$" && compr="bzip2 -9 -f"
                echo "$output_file" | grep -q "\.lzma$" && compr="lzma -9 -f"
+               echo "$output_file" | grep -q "\.lzo$" && compr="lzop -9 -f"
                echo "$output_file" | grep -q "\.cpio$" && compr="cat"
                shift
                ;;