bzip2/lzma: move CONFIG_RD_* options under CONFIG_EMBEDDED

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Sunday, March 29, 2009 - 3:59 pm

Gitweb:     http://git.kernel.org/linus/73d8a12f05292d86623b4ec7bf5fd75d5ad5f687
Commit:     73d8a12f05292d86623b4ec7bf5fd75d5ad5f687
Parent:     18ffa418aead13c56515ac74cd26105102128aca
Author:     H. Peter Anvin <hpa@zytor.com>
AuthorDate: Sat Mar 28 15:49:08 2009 -0700
Committer:  H. Peter Anvin <hpa@zytor.com>
CommitDate: Sat Mar 28 15:49:08 2009 -0700

    bzip2/lzma: move CONFIG_RD_* options under CONFIG_EMBEDDED
    
    Impact: reduce Kconfig noise
    
    Move the options that control possible initramfs/initrd compressions
    underneath CONFIG_EMBEDDED.  The only impact of leaving these options
    set to y is additional code in the init section of the kernel; there
    is no reason to burden non-embedded users with these options.
    
    Signed-off-by: H. Peter Anvin <hpa@zytor.com>
---
 usr/Kconfig |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/usr/Kconfig b/usr/Kconfig
index 43a3a0f..5166078 100644
--- a/usr/Kconfig
+++ b/usr/Kconfig
@@ -46,27 +46,27 @@ config INITRAMFS_ROOT_GID
 	  If you are not sure, leave it set to "0".
 
 config RD_GZIP
-	bool "Initial ramdisk compressed using gzip"
+	bool "Initial ramdisk compressed using gzip" if EMBEDDED
 	default y
-	depends on BLK_DEV_INITRD=y
+	depends on BLK_DEV_INITRD
 	select DECOMPRESS_GZIP
 	help
 	  Support loading of a gzip encoded initial ramdisk or cpio buffer.
 	  If unsure, say Y.
 
 config RD_BZIP2
-	bool "Initial ramdisk compressed using bzip2"
-	default n
-	depends on BLK_DEV_INITRD=y
+	bool "Initial ramdisk compressed using bzip2" if EMBEDDED
+	default !EMBEDDED
+	depends on BLK_DEV_INITRD
 	select DECOMPRESS_BZIP2
 	help
 	  Support loading of a bzip2 encoded initial ramdisk or cpio buffer
 	  If unsure, say N.
 
 config RD_LZMA
-	bool "Initial ramdisk compressed using lzma"
-	default n
-	depends on BLK_DEV_INITRD=y
+	bool "Initial ramdisk compressed using lzma" if EMBEDDED
+	default !EMBEDDED
+	depends on BLK_DEV_INITRD
 	select DECOMPRESS_LZMA
 	help
 	  Support loading of a lzma encoded initial ramdisk or cpio buffer
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
bzip2/lzma: move CONFIG_RD_* options under CONFIG_EMBEDDED, Linux Kernel Mailing ..., (Sun Mar 29, 3:59 pm)