diff --git a/configs/ipq5018_defconfig b/configs/ipq5018_defconfig index b6cd044d4e..04249e0f1c 100644 --- a/configs/ipq5018_defconfig +++ b/configs/ipq5018_defconfig @@ -318,6 +318,7 @@ CONFIG_REGEX=y # Compression Support # # CONFIG_LZ4 is not set +CONFIG_LZMA=y # CONFIG_ERRNO_STR is not set # CONFIG_UNIT_TEST is not set diff --git a/configs/ipq5018_tiny_defconfig b/configs/ipq5018_tiny_defconfig index c4ea6b4968..f788444024 100644 --- a/configs/ipq5018_tiny_defconfig +++ b/configs/ipq5018_tiny_defconfig @@ -318,6 +318,7 @@ CONFIG_REGEX=y # Compression Support # # CONFIG_LZ4 is not set +CONFIG_LZMA=y # CONFIG_ERRNO_STR is not set # CONFIG_UNIT_TEST is not set diff --git a/lib/Kconfig b/lib/Kconfig index 9d580e4115..ff53702844 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -127,6 +127,14 @@ config LZ4 frame format currently (2015) implemented in the Linux kernel (generated by 'lz4 -l'). The two formats are incompatible. +config LZMA + bool "Enable LZMA decompression support" + help + If this option is set, support for LZMA compressed images + is included. The LZMA algorithm can run in-place as long as the + compressed image is loaded to the end of the output buffer, and + trades high compression ratios and fairly fast decompression speed. + endmenu config ERRNO_STR