[PATCH 08/16] lib: prompt for uncompression functions

Sascha Hauer s.hauer at pengutronix.de
Mon Nov 28 17:10:01 EST 2011


Allow the user to manually select the uncompression support
he wants to have so that we have a single point where a user
can see which uncompression support will be compiled in.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 lib/Kconfig     |    6 ++++--
 lib/lzo/Kconfig |    1 +
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/lib/Kconfig b/lib/Kconfig
index 531398f..e16dd35 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -1,8 +1,9 @@
+menu "Library routines"
 config ZLIB
-	bool
+	bool "include gzip uncompression support"
 
 config BZLIB
-	bool
+	bool "include bzip2 uncompression support"
 
 config GENERIC_FIND_NEXT_BIT
 	def_bool n
@@ -18,3 +19,4 @@ config FDT
 config OFTREE
 	select FDT
 	bool
+endmenu
diff --git a/lib/lzo/Kconfig b/lib/lzo/Kconfig
index 4016785..03c3350 100644
--- a/lib/lzo/Kconfig
+++ b/lib/lzo/Kconfig
@@ -1,4 +1,5 @@
 config LZO_DECOMPRESS
+	bool "include lzo uncompression support"
 	bool
 
 config LZO_COMPRESS
-- 
1.7.7.1




More information about the barebox mailing list