9
0
Fork 0

uncompress: add config to disable it

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2012-01-08 14:16:36 +08:00
parent b7498fdb82
commit e7aa252938
4 changed files with 8 additions and 2 deletions

View File

@ -310,6 +310,7 @@ config CMD_BOOTM
tristate
default y
select CRC32
select UNCOMPRESS
prompt "bootm"
config CMD_BOOTM_SHOW_TYPE

View File

@ -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

View File

@ -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

View File

@ -1,6 +1,6 @@
config LZO_DECOMPRESS
bool "include lzo uncompression support"
bool
select UNCOMPRESS
config LZO_COMPRESS
bool