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/boot/Makefile | |
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/boot/Makefile')
-rw-r--r-- | arch/x86/boot/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/x86/boot/Makefile b/arch/x86/boot/Makefile index dcad6507f19..349b81a39c4 100644 --- a/arch/x86/boot/Makefile +++ b/arch/x86/boot/Makefile | |||
@@ -28,9 +28,11 @@ SVGA_MODE := -DSVGA_MODE=NORMAL_VGA | |||
28 | targets := vmlinux.bin setup.bin setup.elf zImage bzImage | 28 | targets := vmlinux.bin setup.bin setup.elf zImage bzImage |
29 | subdir- := compressed | 29 | subdir- := compressed |
30 | 30 | ||
31 | setup-y += a20.o apm.o cmdline.o copy.o cpu.o cpucheck.o edd.o | 31 | setup-y += a20.o cmdline.o copy.o cpu.o cpucheck.o edd.o |
32 | setup-y += header.o main.o mca.o memory.o pm.o pmjump.o | 32 | setup-y += header.o main.o mca.o memory.o pm.o pmjump.o |
33 | setup-y += printf.o string.o tty.o video.o version.o voyager.o | 33 | setup-y += printf.o string.o tty.o video.o version.o |
34 | setup-$(CONFIG_X86_APM_BOOT) += apm.o | ||
35 | setup-$(CONFIG_X86_VOYAGER) += voyager.o | ||
34 | 36 | ||
35 | # The link order of the video-*.o modules can matter. In particular, | 37 | # The link order of the video-*.o modules can matter. In particular, |
36 | # video-vga.o *must* be listed first, followed by video-vesa.o. | 38 | # video-vga.o *must* be listed first, followed by video-vesa.o. |