Browse Source

Merge branch 'bzip2-lzma-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-tip

* 'bzip2-lzma-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-tip:
  bzip2/lzma: quiet Kconfig warning for INITRAMFS_COMPRESSION_NONE
Linus Torvalds 16 years ago
parent
commit
8901e7ffc2
2 changed files with 1 additions and 17 deletions
  1. 1 14
      usr/Kconfig
  2. 0 3
      usr/Makefile

+ 1 - 14
usr/Kconfig

@@ -72,10 +72,8 @@ config RD_LZMA
 	  Support loading of a LZMA encoded initial ramdisk or cpio buffer
 	  Support loading of a LZMA encoded initial ramdisk or cpio buffer
 	  If unsure, say N.
 	  If unsure, say N.
 
 
-if INITRAMFS_SOURCE!=""
-
 choice
 choice
-	prompt "Built-in initramfs compression mode"
+	prompt "Built-in initramfs compression mode" if INITRAMFS_SOURCE!=""
 	help
 	help
 	  This option decides by which algorithm the builtin initramfs
 	  This option decides by which algorithm the builtin initramfs
 	  will be compressed.  Several compression algorithms are
 	  will be compressed.  Several compression algorithms are
@@ -134,14 +132,3 @@ config INITRAMFS_COMPRESSION_LZMA
 	  smaller with LZMA in comparison to gzip.
 	  smaller with LZMA in comparison to gzip.
 
 
 endchoice
 endchoice
-
-endif
-
-if INITRAMFS_SOURCE=""
-# The builtin initramfs is so small so we don't want to bug the user...
-
-config INITRAMFS_COMPRESSION_NONE
-	bool
-	default y
-
-endif

+ 0 - 3
usr/Makefile

@@ -6,9 +6,6 @@ klibcdirs:;
 PHONY += klibcdirs
 PHONY += klibcdirs
 
 
 
 
-# No compression
-suffix_$(CONFIG_INITRAMFS_COMPRESSION_NONE)   =
-
 # Gzip, but no bzip2
 # Gzip, but no bzip2
 suffix_$(CONFIG_INITRAMFS_COMPRESSION_GZIP)   = .gz
 suffix_$(CONFIG_INITRAMFS_COMPRESSION_GZIP)   = .gz