2005-04-16 15:20:36 -07:00
#
# Makefile for the linux kernel.
#
extra-y := head.o head64.o init_task.o vmlinux.lds
EXTRA_AFLAGS := -traditional
2005-09-03 15:56:52 -07:00
obj-y := process.o signal.o entry.o traps.o irq.o \
2005-04-16 15:20:36 -07: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 \
2005-09-03 15:56:55 -07:00
setup64.o bootflag.o e820.o reboot.o quirks.o i8237.o
2005-04-16 15:20:36 -07:00
obj-$(CONFIG_X86_MCE) += mce.o
obj-$(CONFIG_X86_MCE_INTEL) += mce_intel.o
obj-$(CONFIG_MTRR) += ../../i386/kernel/cpu/mtrr/
2005-08-24 12:07:20 -04:00
obj-$(CONFIG_ACPI) += acpi/
2005-04-16 15:20:36 -07:00
obj-$(CONFIG_X86_MSR) += msr.o
obj-$(CONFIG_MICROCODE) += microcode.o
obj-$(CONFIG_X86_CPUID) += cpuid.o
obj-$(CONFIG_SMP) += smp.o smpboot.o trampoline.o
obj-$(CONFIG_X86_LOCAL_APIC) += apic.o nmi.o
obj-$(CONFIG_X86_IO_APIC) += io_apic.o mpparse.o \
genapic.o genapic_cluster.o genapic_flat.o
2005-06-25 14:58:02 -07:00
obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o crash.o
2005-04-16 15:20:36 -07: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
obj-$(CONFIG_GART_IOMMU) += pci-gart.o aperture.o
obj-$(CONFIG_DUMMY_IOMMU) += pci-nommu.o pci-dma.o
obj-$(CONFIG_KPROBES) += kprobes.o
2005-05-16 21:53:28 -07:00
obj-$(CONFIG_X86_PM_TIMER) += pmtimer.o
2005-04-16 15:20:36 -07:00
obj-$(CONFIG_MODULES) += module.o
obj-y += topology.o
obj-y += intel_cacheinfo.o
CFLAGS_vsyscall.o := $( PROFILING) -g0
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
topology-y += ../../i386/mach-default/topology.o
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-03 15:56:55 -07:00
i8237-y += ../../i386/kernel/i8237.o
2005-09-12 18:49:24 +02: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