Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the linux kernel. |
| 3 | # |
| 4 | |
| 5 | extra-y := head.o head64.o init_task.o vmlinux.lds |
| 6 | EXTRA_AFLAGS := -traditional |
Benjamin LaHaise | 52fdd08 | 2005-09-03 15:56:52 -0700 | [diff] [blame] | 7 | obj-y := process.o signal.o entry.o traps.o irq.o \ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | 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 Ossman | 7dc24db | 2005-09-03 15:56:55 -0700 | [diff] [blame] | 10 | setup64.o bootflag.o e820.o reboot.o quirks.o i8237.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | |
| 12 | obj-$(CONFIG_X86_MCE) += mce.o |
| 13 | obj-$(CONFIG_X86_MCE_INTEL) += mce_intel.o |
Jacob Shin | 89b831e | 2005-11-05 17:25:53 +0100 | [diff] [blame] | 14 | obj-$(CONFIG_X86_MCE_AMD) += mce_amd.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | obj-$(CONFIG_MTRR) += ../../i386/kernel/cpu/mtrr/ |
Len Brown | 888ba6c | 2005-08-24 12:07:20 -0400 | [diff] [blame] | 16 | obj-$(CONFIG_ACPI) += acpi/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | obj-$(CONFIG_X86_MSR) += msr.o |
| 18 | obj-$(CONFIG_MICROCODE) += microcode.o |
| 19 | obj-$(CONFIG_X86_CPUID) += cpuid.o |
| 20 | obj-$(CONFIG_SMP) += smp.o smpboot.o trampoline.o |
| 21 | obj-$(CONFIG_X86_LOCAL_APIC) += apic.o nmi.o |
| 22 | obj-$(CONFIG_X86_IO_APIC) += io_apic.o mpparse.o \ |
| 23 | genapic.o genapic_cluster.o genapic_flat.o |
Eric W. Biederman | 5234f5e | 2005-06-25 14:58:02 -0700 | [diff] [blame] | 24 | obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o crash.o |
Vivek Goyal | 4ae362b | 2006-01-09 20:51:50 -0800 | [diff] [blame^] | 25 | obj-$(CONFIG_CRASH_DUMP) += crash_dump.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 26 | obj-$(CONFIG_PM) += suspend.o |
| 27 | obj-$(CONFIG_SOFTWARE_SUSPEND) += suspend_asm.o |
| 28 | obj-$(CONFIG_CPU_FREQ) += cpufreq/ |
| 29 | obj-$(CONFIG_EARLY_PRINTK) += early_printk.o |
| 30 | obj-$(CONFIG_GART_IOMMU) += pci-gart.o aperture.o |
| 31 | obj-$(CONFIG_DUMMY_IOMMU) += pci-nommu.o pci-dma.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 32 | obj-$(CONFIG_KPROBES) += kprobes.o |
Andi Kleen | 312df5f | 2005-05-16 21:53:28 -0700 | [diff] [blame] | 33 | obj-$(CONFIG_X86_PM_TIMER) += pmtimer.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 34 | |
| 35 | obj-$(CONFIG_MODULES) += module.o |
| 36 | |
| 37 | obj-y += topology.o |
| 38 | obj-y += intel_cacheinfo.o |
| 39 | |
| 40 | CFLAGS_vsyscall.o := $(PROFILING) -g0 |
| 41 | |
| 42 | bootflag-y += ../../i386/kernel/bootflag.o |
| 43 | cpuid-$(subst m,y,$(CONFIG_X86_CPUID)) += ../../i386/kernel/cpuid.o |
| 44 | topology-y += ../../i386/mach-default/topology.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 45 | microcode-$(subst m,y,$(CONFIG_MICROCODE)) += ../../i386/kernel/microcode.o |
| 46 | intel_cacheinfo-y += ../../i386/kernel/cpu/intel_cacheinfo.o |
| 47 | quirks-y += ../../i386/kernel/quirks.o |
Pierre Ossman | 7dc24db | 2005-09-03 15:56:55 -0700 | [diff] [blame] | 48 | i8237-y += ../../i386/kernel/i8237.o |
Andi Kleen | 059bf0f | 2005-09-12 18:49:24 +0200 | [diff] [blame] | 49 | msr-$(subst m,y,$(CONFIG_X86_MSR)) += ../../i386/kernel/msr.o |