[U-Boot] [RFC PATCH 5/8] Add decompression to Kconfig

Joe Hershberger joe.hershberger at ni.com
Thu May 14 06:29:55 CEST 2015


Also add a new menu for all of the decompression options.

The CMD_UBIFS config needs to select the LZO config.

Signed-off-by: Joe Hershberger <joe.hershberger at ni.com>
---

 lib/Kconfig | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/lib/Kconfig b/lib/Kconfig
index b4a02b4..ead7fc0 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -50,6 +50,35 @@ config REGEX
 	  regex support to some commands, for example "env grep" and
 	  "setexpr".
 
+menu "Decompression Support"
+
+config GZIP
+	bool "gzip decompression support"
+	default y
+	help
+	  If this option is set, support for gzip compressed images is
+	  included.
+
+config BZIP2
+	bool "bzip2 decompression support"
+	help
+	  If this option is set, support for bzip2 compressed images is
+	  included.
+
+config LZMA
+	bool "LZMA decompression support"
+	help
+	  If this option is set, support for lzma compressed images is
+	  included.
+
+config LZO
+	bool "LZO decompression support"
+	help
+	  If this option is set, support for LZO compressed images is
+	  included.
+
+endmenu
+
 source lib/rsa/Kconfig
 
 menu "Hashing Support"
-- 
1.7.11.5



More information about the U-Boot mailing list