diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-01-04 18:41:25 -0500 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-01-04 18:53:35 -0500 |
commit | 2e9f3bddcbc711bb14d86c6f068a779bf3710247 (patch) | |
tree | bd59cd7b10f8881d89ee4f39b295520a6f18e217 /arch | |
parent | 0f5e2d2484ccd3062bb1f63083bafa37041bc868 (diff) |
bzip2/lzma: make config machinery an arch configurable
Impact: Bug fix (we should not show this menu on irrelevant architectures)
Make the config machinery to drive the gzip/bzip2/lzma selection
dependent on the architecture advertising HAVE_KERNEL_* so that we
don't display this for architectures where it doesn't matter.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 862adb9bf0d4..7b66c34d0aae 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -39,6 +39,9 @@ config X86 | |||
39 | select HAVE_GENERIC_DMA_COHERENT if X86_32 | 39 | select HAVE_GENERIC_DMA_COHERENT if X86_32 |
40 | select HAVE_EFFICIENT_UNALIGNED_ACCESS | 40 | select HAVE_EFFICIENT_UNALIGNED_ACCESS |
41 | select USER_STACKTRACE_SUPPORT | 41 | select USER_STACKTRACE_SUPPORT |
42 | select HAVE_KERNEL_GZIP | ||
43 | select HAVE_KERNEL_BZIP2 | ||
44 | select HAVE_KERNEL_LZMA | ||
42 | 45 | ||
43 | config ARCH_DEFCONFIG | 46 | config ARCH_DEFCONFIG |
44 | string | 47 | string |