blob: 12bc54005e2faa59656ba68b272c1876e48b961f [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the linux kernel.
3#
4
5extra-y := head.o head64.o init_task.o vmlinux.lds
6EXTRA_AFLAGS := -traditional
Benjamin LaHaise52fdd082005-09-03 15:56:52 -07007obj-y := process.o signal.o entry.o traps.o irq.o \
Linus Torvalds1da177e2005-04-16 15:20:36 -07008 ptrace.o time.o ioport.o ldt.o setup.o i8259.o sys_x86_64.o \
9 x8664_ksyms.o i387.o syscall.o vsyscall.o \
Pierre Ossman7dc24db2005-09-03 15:56:55 -070010 setup64.o bootflag.o e820.o reboot.o quirks.o i8237.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070011
12obj-$(CONFIG_X86_MCE) += mce.o
13obj-$(CONFIG_X86_MCE_INTEL) += mce_intel.o
Jacob Shin89b831e2005-11-05 17:25:53 +010014obj-$(CONFIG_X86_MCE_AMD) += mce_amd.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070015obj-$(CONFIG_MTRR) += ../../i386/kernel/cpu/mtrr/
Len Brown888ba6c2005-08-24 12:07:20 -040016obj-$(CONFIG_ACPI) += acpi/
Linus Torvalds1da177e2005-04-16 15:20:36 -070017obj-$(CONFIG_X86_MSR) += msr.o
18obj-$(CONFIG_MICROCODE) += microcode.o
19obj-$(CONFIG_X86_CPUID) += cpuid.o
20obj-$(CONFIG_SMP) += smp.o smpboot.o trampoline.o
21obj-$(CONFIG_X86_LOCAL_APIC) += apic.o nmi.o
22obj-$(CONFIG_X86_IO_APIC) += io_apic.o mpparse.o \
23 genapic.o genapic_cluster.o genapic_flat.o
Eric W. Biederman5234f5e2005-06-25 14:58:02 -070024obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o crash.o
Vivek Goyal4ae362b2006-01-09 20:51:50 -080025obj-$(CONFIG_CRASH_DUMP) += crash_dump.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070026obj-$(CONFIG_PM) += suspend.o
27obj-$(CONFIG_SOFTWARE_SUSPEND) += suspend_asm.o
28obj-$(CONFIG_CPU_FREQ) += cpufreq/
29obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
30obj-$(CONFIG_GART_IOMMU) += pci-gart.o aperture.o
31obj-$(CONFIG_DUMMY_IOMMU) += pci-nommu.o pci-dma.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070032obj-$(CONFIG_KPROBES) += kprobes.o
Andi Kleen312df5f2005-05-16 21:53:28 -070033obj-$(CONFIG_X86_PM_TIMER) += pmtimer.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070034
35obj-$(CONFIG_MODULES) += module.o
36
37obj-y += topology.o
38obj-y += intel_cacheinfo.o
39
40CFLAGS_vsyscall.o := $(PROFILING) -g0
41
42bootflag-y += ../../i386/kernel/bootflag.o
43cpuid-$(subst m,y,$(CONFIG_X86_CPUID)) += ../../i386/kernel/cpuid.o
44topology-y += ../../i386/mach-default/topology.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070045microcode-$(subst m,y,$(CONFIG_MICROCODE)) += ../../i386/kernel/microcode.o
46intel_cacheinfo-y += ../../i386/kernel/cpu/intel_cacheinfo.o
47quirks-y += ../../i386/kernel/quirks.o
Pierre Ossman7dc24db2005-09-03 15:56:55 -070048i8237-y += ../../i386/kernel/i8237.o
Andi Kleen059bf0f2005-09-12 18:49:24 +020049msr-$(subst m,y,$(CONFIG_X86_MSR)) += ../../i386/kernel/msr.o