android_kernel_sony_sdm845/lib/lz4/Makefile
JackA1ltman 5f9c37e7b5 lib/lz4: Update lz4 to version 1.10.0 and remove lz4hc.
Update LZ4 compression library to the latest stable version 1.10.0
for improved performance and bug fixes.

Commit:
a049f5b4bd (diff-f27c1e4d68)

Changes:
- Upgrade LZ4 from [previous version] to 1.10.0
- Remove lz4hc (high compression) variant to simplify codebase
- Update API calls to match new LZ4 interface
- Maintain compatibility with existing ZRAM integration

Benefits:
- Enhanced compression/decompression performance
- Reduced memory usage during compression
- Latest security fixes and stability improvements
- Simplified maintenance without lz4hc complexity

The removal of lz4hc reduces kernel size while standard LZ4 provides
sufficient compression performance for most use cases.

Co-authored-by: JackA1ltman <cs2dtzq@163.com>
Signed-off-by: Sorayukii <sorayukii69@gmail.com>
2026-05-15 18:07:05 +07:00

7 lines
158 B
Makefile

ccflags-y += -O3 \
-DLZ4_FREESTANDING=1 \
-DLZ4_FAST_DEC_LOOP=1
obj-y += lz4.o
obj-$(CONFIG_ARM64) += $(addprefix lz4armv8/, lz4accel.o lz4armv8.o)