diff options
author | Andi Kleen <ak@suse.de> | 2008-01-30 07:32:49 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:32:49 -0500 |
commit | a6b68076fd5d7de04e6847ed9d7d212e7dd6beb5 (patch) | |
tree | 8f9da2347cee05e03414889a2dc701e71b06dd77 /arch/x86/Kconfig | |
parent | 37f30e21d6be046e948fce1dfa4a968cf5abcf89 (diff) |
x86: compile apm and voyager module only when selected in Kconfig
Previously the complete files were #ifdef'ed, but now handle that in the
Makefile.
May save a minor bit of compilation time.
[ Stephen Rothwell <sfr@canb.auug.org.au>: build dependency fix ]
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 5271665a22e0..1de28e850aa4 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -1199,6 +1199,11 @@ source "kernel/power/Kconfig" | |||
1199 | 1199 | ||
1200 | source "drivers/acpi/Kconfig" | 1200 | source "drivers/acpi/Kconfig" |
1201 | 1201 | ||
1202 | config X86_APM_BOOT | ||
1203 | bool | ||
1204 | default y | ||
1205 | depends on APM || APM_MODULE | ||
1206 | |||
1202 | menuconfig APM | 1207 | menuconfig APM |
1203 | tristate "APM (Advanced Power Management) BIOS support" | 1208 | tristate "APM (Advanced Power Management) BIOS support" |
1204 | depends on X86_32 && PM_SLEEP && !X86_VISWS | 1209 | depends on X86_32 && PM_SLEEP && !X86_VISWS |