2 # Makefile for the linux kernel.
5 extra-y := head_64.o head64.o init_task.o vmlinux.lds
6 CPPFLAGS_vmlinux.lds += -Ux86_64
8 obj-y := process_64.o signal_64.o entry_64.o traps_64.o irq_64.o \
9 time_64.o ioport_64.o ldt.o setup_64.o i8259_64.o sys_x86_64.o \
10 x8664_ksyms_64.o i387_64.o syscall_64.o vsyscall_64.o \
11 setup64.o bootflag.o e820_64.o reboot_64.o quirks.o i8237.o \
12 pci-dma_64.o pci-nommu_64.o alternative.o hpet.o tsc_64.o bugs_64.o \
13 i8253.o io_delay.o rtc.o
19 obj-$(CONFIG_IA32_EMULATION) += tls.o
20 obj-$(CONFIG_STACKTRACE) += stacktrace.o
23 obj-$(CONFIG_X86_MSR) += msr.o
24 obj-$(CONFIG_MICROCODE) += microcode.o
25 obj-$(CONFIG_X86_CPUID) += cpuid.o
26 obj-$(CONFIG_SMP) += smp_64.o smpboot_64.o trampoline_64.o tsc_sync.o
27 obj-y += apic_64.o nmi_64.o
28 obj-y += io_apic_64.o mpparse_64.o genapic_64.o genapic_flat_64.o
29 obj-$(CONFIG_KEXEC) += machine_kexec_64.o relocate_kernel_64.o crash.o
30 obj-$(CONFIG_CRASH_DUMP) += crash_dump_64.o
31 obj-$(CONFIG_PM) += suspend_64.o
32 obj-$(CONFIG_HIBERNATION) += suspend_asm_64.o
33 obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
34 obj-$(CONFIG_GART_IOMMU) += pci-gart_64.o aperture_64.o
35 obj-$(CONFIG_CALGARY_IOMMU) += pci-calgary_64.o tce_64.o
36 obj-$(CONFIG_SWIOTLB) += pci-swiotlb_64.o
37 obj-$(CONFIG_KPROBES) += kprobes_64.o
38 obj-$(CONFIG_X86_PM_TIMER) += pmtimer_64.o
39 obj-$(CONFIG_X86_VSMP) += vsmp_64.o
40 obj-$(CONFIG_K8_NB) += k8.o
41 obj-$(CONFIG_AUDIT) += audit_64.o
42 obj-$(CONFIG_EFI) += efi.o efi_64.o efi_stub_64.o
44 obj-$(CONFIG_MODULES) += module_64.o
45 obj-$(CONFIG_PCI) += early-quirks.o
50 CFLAGS_vsyscall_64.o := $(PROFILING) -g0