Skip to content

Commit

Permalink
Merge branch 'bzip2-lzma-for-linus' of git://git.kernel.org/pub/scm/l…
Browse files Browse the repository at this point in the history
…inux/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
  • Loading branch information
torvalds committed Apr 5, 2009
2 parents 90975ef + 1359096 commit 8901e7f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
15 changes: 1 addition & 14 deletions usr/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,8 @@ config RD_LZMA
Support loading of a LZMA encoded initial ramdisk or cpio buffer
If unsure, say N.

if INITRAMFS_SOURCE!=""

choice
prompt "Built-in initramfs compression mode"
prompt "Built-in initramfs compression mode" if INITRAMFS_SOURCE!=""
help
This option decides by which algorithm the builtin initramfs
will be compressed. Several compression algorithms are
Expand Down Expand Up @@ -134,14 +132,3 @@ config INITRAMFS_COMPRESSION_LZMA
smaller with LZMA in comparison to gzip.

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
3 changes: 0 additions & 3 deletions usr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ klibcdirs:;
PHONY += klibcdirs


# No compression
suffix_$(CONFIG_INITRAMFS_COMPRESSION_NONE) =

# Gzip, but no bzip2
suffix_$(CONFIG_INITRAMFS_COMPRESSION_GZIP) = .gz

Expand Down

0 comments on commit 8901e7f

Please sign in to comment.