diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-05 13:35:44 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-05 13:35:44 -0400 |
| commit | 8901e7ffc2fa78ede7ce9826dbad68a3a25dc2dc (patch) | |
| tree | e1a7735557b8d875e5827f889e658d3b5a717848 | |
| parent | 90975ef71246c5c688ead04e8ff6f36dc92d28b3 (diff) | |
| parent | 1359096eacb1971be67eead8bf9b582864d92a30 (diff) | |
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
| -rw-r--r-- | usr/Kconfig | 15 | ||||
| -rw-r--r-- | usr/Makefile | 3 |
2 files changed, 1 insertions, 17 deletions
diff --git a/usr/Kconfig b/usr/Kconfig index 588c588791e2..1c3039f28909 100644 --- a/usr/Kconfig +++ b/usr/Kconfig | |||
| @@ -72,10 +72,8 @@ config RD_LZMA | |||
| 72 | Support loading of a LZMA encoded initial ramdisk or cpio buffer | 72 | Support loading of a LZMA encoded initial ramdisk or cpio buffer |
| 73 | If unsure, say N. | 73 | If unsure, say N. |
| 74 | 74 | ||
| 75 | if INITRAMFS_SOURCE!="" | ||
| 76 | |||
| 77 | choice | 75 | choice |
| 78 | prompt "Built-in initramfs compression mode" | 76 | prompt "Built-in initramfs compression mode" if INITRAMFS_SOURCE!="" |
| 79 | help | 77 | help |
| 80 | This option decides by which algorithm the builtin initramfs | 78 | This option decides by which algorithm the builtin initramfs |
| 81 | will be compressed. Several compression algorithms are | 79 | will be compressed. Several compression algorithms are |
| @@ -134,14 +132,3 @@ config INITRAMFS_COMPRESSION_LZMA | |||
| 134 | smaller with LZMA in comparison to gzip. | 132 | smaller with LZMA in comparison to gzip. |
| 135 | 133 | ||
| 136 | endchoice | 134 | endchoice |
| 137 | |||
| 138 | endif | ||
| 139 | |||
| 140 | if INITRAMFS_SOURCE="" | ||
| 141 | # The builtin initramfs is so small so we don't want to bug the user... | ||
| 142 | |||
| 143 | config INITRAMFS_COMPRESSION_NONE | ||
| 144 | bool | ||
| 145 | default y | ||
| 146 | |||
| 147 | endif | ||
diff --git a/usr/Makefile b/usr/Makefile index b84894b3929d..245145a99c10 100644 --- a/usr/Makefile +++ b/usr/Makefile | |||
| @@ -6,9 +6,6 @@ klibcdirs:; | |||
| 6 | PHONY += klibcdirs | 6 | PHONY += klibcdirs |
| 7 | 7 | ||
| 8 | 8 | ||
| 9 | # No compression | ||
| 10 | suffix_$(CONFIG_INITRAMFS_COMPRESSION_NONE) = | ||
| 11 | |||
| 12 | # Gzip, but no bzip2 | 9 | # Gzip, but no bzip2 |
| 13 | suffix_$(CONFIG_INITRAMFS_COMPRESSION_GZIP) = .gz | 10 | suffix_$(CONFIG_INITRAMFS_COMPRESSION_GZIP) = .gz |
| 14 | 11 | ||
