diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-01-08 14:16:36 +0800 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-01-11 21:22:34 +0800 |
commit | e7aa25293860087158f652c07be7b30299410b8b (patch) | |
tree | a2ca40b9f751c4dcd91dd4f1860039192667f61a /lib | |
parent | b7498fdb821bf564fd5435408aefddb93d2b8597 (diff) | |
download | barebox-e7aa25293860087158f652c07be7b30299410b8b.tar.gz barebox-e7aa25293860087158f652c07be7b30299410b8b.tar.xz |
uncompress: add config to disable it
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig | 5 | ||||
-rw-r--r-- | lib/Makefile | 2 | ||||
-rw-r--r-- | lib/lzo/Kconfig | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index 3339a9aa23..0bbd206778 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -1,9 +1,14 @@ menu "Library routines" +config UNCOMPRESS + bool + config ZLIB bool "include gzip uncompression support" + select UNCOMPRESS config BZLIB bool "include bzip2 uncompression support" + select UNCOMPRESS config GENERIC_FIND_NEXT_BIT def_bool n diff --git a/lib/Makefile b/lib/Makefile index 7799e69d86..c273c58cfa 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -30,6 +30,6 @@ obj-y += show_progress.o obj-$(CONFIG_LZO_DECOMPRESS) += decompress_unlzo.o obj-$(CONFIG_PROCESS_ESCAPE_SEQUENCE) += process_escape_sequence.o obj-$(CONFIG_FDT) += fdt/ -obj-y += uncompress.o +obj-$(CONFIG_UNCOMPRESS) += uncompress.o obj-$(CONFIG_BCH) += bch.o obj-$(CONFIG_BITREV) += bitrev.o diff --git a/lib/lzo/Kconfig b/lib/lzo/Kconfig index 03c3350897..9276b2128a 100644 --- a/lib/lzo/Kconfig +++ b/lib/lzo/Kconfig @@ -1,6 +1,6 @@ config LZO_DECOMPRESS bool "include lzo uncompression support" - bool + select UNCOMPRESS config LZO_COMPRESS bool |