Makefile_64 2.0 KB
Newer Older
1 2 3 4
#
# Makefile for the linux kernel.
#

H
Hiroshi Shimamoto 已提交
5
extra-y 	:= head_64.o head64.o init_task.o vmlinux.lds
6 7 8 9 10
EXTRA_AFLAGS	:= -traditional
obj-y	:= process_64.o signal_64.o entry_64.o traps_64.o irq_64.o \
		ptrace_64.o time_64.o ioport_64.o ldt_64.o setup_64.o i8259_64.o sys_x86_64.o \
		x8664_ksyms_64.o i387_64.o syscall_64.o vsyscall_64.o \
		setup64.o bootflag.o e820_64.o reboot_64.o quirks.o i8237.o \
T
Thomas Gleixner 已提交
11 12
		pci-dma_64.o pci-nommu_64.o alternative.o hpet.o tsc_64.o bugs_64.o \
		perfctr-watchdog.o i8253.o
13 14 15 16 17

obj-$(CONFIG_STACKTRACE)	+= stacktrace.o
obj-$(CONFIG_X86_MCE)		+= mce_64.o therm_throt.o
obj-$(CONFIG_X86_MCE_INTEL)	+= mce_intel_64.o
obj-$(CONFIG_X86_MCE_AMD)	+= mce_amd_64.o
18 19
obj-$(CONFIG_MTRR)		+= cpu/mtrr/
obj-$(CONFIG_ACPI)		+= acpi/
20 21 22 23 24 25 26 27 28 29
obj-$(CONFIG_X86_MSR)		+= msr.o
obj-$(CONFIG_MICROCODE)		+= microcode.o
obj-$(CONFIG_X86_CPUID)		+= cpuid.o
obj-$(CONFIG_SMP)		+= smp_64.o smpboot_64.o trampoline_64.o tsc_sync.o
obj-y				+= apic_64.o  nmi_64.o
obj-y				+= io_apic_64.o mpparse_64.o genapic_64.o genapic_flat_64.o
obj-$(CONFIG_KEXEC)		+= machine_kexec_64.o relocate_kernel_64.o crash_64.o
obj-$(CONFIG_CRASH_DUMP)	+= crash_dump_64.o
obj-$(CONFIG_PM)		+= suspend_64.o
obj-$(CONFIG_HIBERNATION)	+= suspend_asm_64.o
30
obj-$(CONFIG_CPU_FREQ)		+= cpu/cpufreq/
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
obj-$(CONFIG_EARLY_PRINTK)	+= early_printk.o
obj-$(CONFIG_IOMMU)		+= pci-gart_64.o aperture_64.o
obj-$(CONFIG_CALGARY_IOMMU)	+= pci-calgary_64.o tce_64.o
obj-$(CONFIG_SWIOTLB)		+= pci-swiotlb_64.o
obj-$(CONFIG_KPROBES)		+= kprobes_64.o
obj-$(CONFIG_X86_PM_TIMER)	+= pmtimer_64.o
obj-$(CONFIG_X86_VSMP)		+= vsmp_64.o
obj-$(CONFIG_K8_NB)		+= k8.o
obj-$(CONFIG_AUDIT)		+= audit_64.o

obj-$(CONFIG_MODULES)		+= module_64.o
obj-$(CONFIG_PCI)		+= early-quirks_64.o

obj-y				+= topology.o
obj-y				+= intel_cacheinfo.o
obj-y				+= addon_cpuid_features.o
obj-y				+= pcspeaker.o

CFLAGS_vsyscall_64.o		:= $(PROFILING) -g0

51 52 53 54
therm_throt-y                   += cpu/mcheck/therm_throt.o
intel_cacheinfo-y		+= cpu/intel_cacheinfo.o
addon_cpuid_features-y		+= cpu/addon_cpuid_features.o
perfctr-watchdog-y		+= cpu/perfctr-watchdog.o