]> err.no Git - linux-2.6/commit
x86: compile apm and voyager module only when selected in Kconfig
authorAndi Kleen <ak@suse.de>
Wed, 30 Jan 2008 12:32:49 +0000 (13:32 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:32:49 +0000 (13:32 +0100)
commita6b68076fd5d7de04e6847ed9d7d212e7dd6beb5
tree8f9da2347cee05e03414889a2dc701e71b06dd77
parent37f30e21d6be046e948fce1dfa4a968cf5abcf89
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>
arch/x86/Kconfig
arch/x86/boot/Makefile
arch/x86/boot/apm.c
arch/x86/boot/voyager.c