]> www.infradead.org Git - mtd-utils.git/commit
Make it possible to compile mkfs.ubifs without zlib
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Sun, 18 Feb 2024 13:22:08 +0000 (14:22 +0100)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Sun, 18 Feb 2024 13:22:08 +0000 (14:22 +0100)
commit2bca2a9dea4c3debc2565b58b3a7f095be2f7b75
tree03b82aeefe928330a8891fcd4b8a3e9c748f79cc
parent3f73bfb3e09c407425245aa5f62477fd572328c9
Make it possible to compile mkfs.ubifs without zlib

This one is a bit trickier than adding WITH_ZLIB ifdefs. Some parts
of the code assume that zlib is always present and have complicated
fallback behavior. Particularly the "favor_lzo" compression method
that uses either zlib or lzo, whichever produces the better result.

Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
ubifs-utils/mkfs.ubifs/compr.c
ubifs-utils/mkfs.ubifs/mkfs.ubifs.c