2 # Makefile for the linux kernel.
5 extra-y := head_64.o head64.o init_task.o vmlinux.lds
6 EXTRA_AFLAGS := -traditional
7 obj-y := process_64.o signal_64.o entry_64.o traps_64.o irq_64.o \
8 ptrace_64.o time_64.o ioport_64.o ldt_64.o setup_64.o i8259_64.o sys_x86_64.o \
9 x8664_ksyms_64.o i387_64.o syscall_64.o vsyscall_64.o \
10 setup64.o bootflag.o e820_64.o reboot_64.o quirks.o i8237.o \
11 pci-dma_64.o pci-nommu_64.o alternative.o hpet.o tsc_64.o bugs_64.o \
14 obj-$(CONFIG_STACKTRACE) += stacktrace.o
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_64.o smpboot_64.o trampoline_64.o tsc_sync.o
21 obj-y += apic_64.o nmi_64.o
22 obj-y += io_apic_64.o mpparse_64.o genapic_64.o genapic_flat_64.o
23 obj-$(CONFIG_KEXEC) += machine_kexec_64.o relocate_kernel_64.o crash.o
24 obj-$(CONFIG_CRASH_DUMP) += crash_dump_64.o
25 obj-$(CONFIG_PM) += suspend_64.o
26 obj-$(CONFIG_HIBERNATION) += suspend_asm_64.o
27 obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
28 obj-$(CONFIG_IOMMU) += pci-gart_64.o aperture_64.o
29 obj-$(CONFIG_CALGARY_IOMMU) += pci-calgary_64.o tce_64.o
30 obj-$(CONFIG_SWIOTLB) += pci-swiotlb_64.o
31 obj-$(CONFIG_KPROBES) += kprobes_64.o
32 obj-$(CONFIG_X86_PM_TIMER) += pmtimer_64.o
33 obj-$(CONFIG_X86_VSMP) += vsmp_64.o
34 obj-$(CONFIG_K8_NB) += k8.o
35 obj-$(CONFIG_AUDIT) += audit_64.o
37 obj-$(CONFIG_MODULES) += module_64.o
38 obj-$(CONFIG_PCI) += early-quirks.o
43 CFLAGS_vsyscall_64.o := $(PROFILING) -g0