2005-04-17 02:20:36 +04:00
#
# Makefile for the linux kernel.
#
extra-y := head.o head64.o init_task.o vmlinux.lds
EXTRA_AFLAGS := -traditional
2005-09-04 02:56:52 +04:00
obj-y := process.o signal.o entry.o traps.o irq.o \
2005-04-17 02:20:36 +04:00
ptrace.o time.o ioport.o ldt.o setup.o i8259.o sys_x86_64.o \
x8664_ksyms.o i387.o syscall.o vsyscall.o \
2006-01-12 00:43:33 +03:00
setup64.o bootflag.o e820.o reboot.o quirks.o i8237.o \
2007-02-16 12:28:19 +03:00
pci-dma.o pci-nommu.o alternative.o hpet.o tsc.o
2005-04-17 02:20:36 +04:00
2006-07-03 11:24:40 +04:00
obj-$(CONFIG_STACKTRACE) += stacktrace.o
2006-09-26 12:52:42 +04:00
obj-$(CONFIG_X86_MCE) += mce.o therm_throt.o
2005-04-17 02:20:36 +04:00
obj-$(CONFIG_X86_MCE_INTEL) += mce_intel.o
2005-11-05 19:25:53 +03:00
obj-$(CONFIG_X86_MCE_AMD) += mce_amd.o
2005-04-17 02:20:36 +04:00
obj-$(CONFIG_MTRR) += ../../i386/kernel/cpu/mtrr/
2005-08-24 20:07:20 +04:00
obj-$(CONFIG_ACPI) += acpi/
2005-04-17 02:20:36 +04:00
obj-$(CONFIG_X86_MSR) += msr.o
obj-$(CONFIG_MICROCODE) += microcode.o
obj-$(CONFIG_X86_CPUID) += cpuid.o
2007-02-16 12:27:34 +03:00
obj-$(CONFIG_SMP) += smp.o smpboot.o trampoline.o tsc_sync.o
2006-09-26 12:52:29 +04:00
obj-y += apic.o nmi.o
2007-05-02 21:27:04 +04:00
obj-y += io_apic.o mpparse.o genapic.o genapic_flat.o
2005-06-26 01:58:02 +04:00
obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o crash.o
2006-01-10 07:51:50 +03:00
obj-$(CONFIG_CRASH_DUMP) += crash_dump.o
2005-04-17 02:20:36 +04:00
obj-$(CONFIG_PM) += suspend.o
obj-$(CONFIG_SOFTWARE_SUSPEND) += suspend_asm.o
obj-$(CONFIG_CPU_FREQ) += cpufreq/
obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
2006-06-26 15:57:22 +04:00
obj-$(CONFIG_IOMMU) += pci-gart.o aperture.o
2006-06-26 15:58:14 +04:00
obj-$(CONFIG_CALGARY_IOMMU) += pci-calgary.o tce.o
2006-01-12 00:44:42 +03:00
obj-$(CONFIG_SWIOTLB) += pci-swiotlb.o
2005-04-17 02:20:36 +04:00
obj-$(CONFIG_KPROBES) += kprobes.o
2005-05-17 08:53:28 +04:00
obj-$(CONFIG_X86_PM_TIMER) += pmtimer.o
2006-01-12 00:46:18 +03:00
obj-$(CONFIG_X86_VSMP) += vsmp.o
2006-06-26 15:56:40 +04:00
obj-$(CONFIG_K8_NB) += k8.o
2006-07-01 11:56:16 +04:00
obj-$(CONFIG_AUDIT) += audit.o
2005-04-17 02:20:36 +04:00
obj-$(CONFIG_MODULES) += module.o
2006-09-26 12:52:41 +04:00
obj-$(CONFIG_PCI) += early-quirks.o
2005-04-17 02:20:36 +04:00
obj-y += topology.o
obj-y += intel_cacheinfo.o
2007-02-13 15:26:26 +03:00
obj-y += pcspeaker.o
2005-04-17 02:20:36 +04:00
CFLAGS_vsyscall.o := $( PROFILING) -g0
2006-09-26 12:52:42 +04:00
therm_throt-y += ../../i386/kernel/cpu/mcheck/therm_throt.o
2005-04-17 02:20:36 +04:00
bootflag-y += ../../i386/kernel/bootflag.o
c p u i d - $( subst m ,y ,$ ( CONFIG_X 86_CPUID ) ) + = . . / . . / i 3 8 6 / k e r n e l / c p u i d . o
2006-02-25 11:55:38 +03:00
topology-y += ../../i386/kernel/topology.o
2005-04-17 02:20:36 +04:00
m i c r o c o d e - $( subst m ,y ,$ ( CONFIG_MICROCODE ) ) + = . . / . . / i 3 8 6 / k e r n e l / m i c r o c o d e . o
intel_cacheinfo-y += ../../i386/kernel/cpu/intel_cacheinfo.o
quirks-y += ../../i386/kernel/quirks.o
2005-09-04 02:56:55 +04:00
i8237-y += ../../i386/kernel/i8237.o
2005-09-12 20:49:24 +04:00
m s r - $( subst m ,y ,$ ( CONFIG_X 86_MSR ) ) + = . . / . . / i 3 8 6 / k e r n e l / m s r . o
2006-06-26 15:56:16 +04:00
alternative-y += ../../i386/kernel/alternative.o
2007-02-13 15:26:26 +03:00
pcspeaker-y += ../../i386/kernel/pcspeaker.o