UPSTREAM: lib: allow building lzo for the SPL
Change-Id: If6ccf36b13632f5450f700b8931975a4742a698e Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit f52bdf4b678defea2341aa4b68736e6978180222)
This commit is contained in:
parent
194712615e
commit
205ac79efb
|
|
@ -183,6 +183,11 @@ config LZO
|
||||||
help
|
help
|
||||||
This enables support for LZO compression algorithm.r
|
This enables support for LZO compression algorithm.r
|
||||||
|
|
||||||
|
config SPL_LZO
|
||||||
|
bool "Enable LZO decompression support in SPL"
|
||||||
|
help
|
||||||
|
This enables support for LZO compression algorithm in the SPL.
|
||||||
|
|
||||||
config SPL_GZIP
|
config SPL_GZIP
|
||||||
bool "Enable gzip decompression support for SPL build"
|
bool "Enable gzip decompression support for SPL build"
|
||||||
select SPL_ZLIB
|
select SPL_ZLIB
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,6 @@ ifndef CONFIG_SPL_BUILD
|
||||||
obj-$(CONFIG_EFI) += efi/
|
obj-$(CONFIG_EFI) += efi/
|
||||||
obj-$(CONFIG_EFI_LOADER) += efi_loader/
|
obj-$(CONFIG_EFI_LOADER) += efi_loader/
|
||||||
obj-$(CONFIG_LZMA) += lzma/
|
obj-$(CONFIG_LZMA) += lzma/
|
||||||
obj-$(CONFIG_LZO) += lzo/
|
|
||||||
obj-$(CONFIG_BZIP2) += bzip2/
|
obj-$(CONFIG_BZIP2) += bzip2/
|
||||||
obj-$(CONFIG_TIZEN) += tizen/
|
obj-$(CONFIG_TIZEN) += tizen/
|
||||||
obj-$(CONFIG_FIT) += libfdt/
|
obj-$(CONFIG_FIT) += libfdt/
|
||||||
|
|
@ -56,6 +55,8 @@ obj-$(CONFIG_SHA256) += sha256.o
|
||||||
|
|
||||||
obj-$(CONFIG_$(SPL_)ZLIB) += zlib/
|
obj-$(CONFIG_$(SPL_)ZLIB) += zlib/
|
||||||
obj-$(CONFIG_$(SPL_)GZIP) += gunzip.o
|
obj-$(CONFIG_$(SPL_)GZIP) += gunzip.o
|
||||||
|
obj-$(CONFIG_$(SPL_)LZO) += lzo/
|
||||||
|
|
||||||
|
|
||||||
obj-$(CONFIG_$(SPL_TPL_)SAVEENV) += qsort.o
|
obj-$(CONFIG_$(SPL_TPL_)SAVEENV) += qsort.o
|
||||||
obj-$(CONFIG_$(SPL_TPL_)OF_LIBFDT) += libfdt/
|
obj-$(CONFIG_$(SPL_TPL_)OF_LIBFDT) += libfdt/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue