Makefile 2.5 KB
Newer Older
L
Linus Torvalds 已提交
1 2 3 4 5 6
#
# Makefile for the linux kernel.
#

extra-y 	:= head.o head64.o init_task.o vmlinux.lds
EXTRA_AFLAGS	:= -traditional
7
obj-y	:= process.o signal_64.o entry.o traps_64.o irq.o \
8
		ptrace.o time.o ioport_64.o ldt.o setup_64.o i8259_64.o sys_x86_64.o \
9
		x8664_ksyms.o i387_64.o syscall.o vsyscall_64.o \
10
		setup64.o bootflag.o e820_64.o reboot.o quirks.o i8237.o \
11
		pci-dma_64.o pci-nommu_64.o alternative.o hpet_64.o tsc.o bugs_64.o \
12
		perfctr-watchdog.o
L
Linus Torvalds 已提交
13

14
obj-$(CONFIG_STACKTRACE)	+= stacktrace.o
15
obj-$(CONFIG_X86_MCE)		+= mce.o therm_throt.o
16
obj-$(CONFIG_X86_MCE_INTEL)	+= mce_intel_64.o
17
obj-$(CONFIG_X86_MCE_AMD)	+= mce_amd_64.o
L
Linus Torvalds 已提交
18
obj-$(CONFIG_MTRR)		+= ../../i386/kernel/cpu/mtrr/
L
Len Brown 已提交
19
obj-$(CONFIG_ACPI)		+= acpi/
L
Linus Torvalds 已提交
20 21 22
obj-$(CONFIG_X86_MSR)		+= msr.o
obj-$(CONFIG_MICROCODE)		+= microcode.o
obj-$(CONFIG_X86_CPUID)		+= cpuid.o
23
obj-$(CONFIG_SMP)		+= smp_64.o smpboot_64.o trampoline.o tsc_sync.o
24
obj-y				+= apic_64.o  nmi_64.o
25
obj-y				+= io_apic_64.o mpparse.o genapic_64.o genapic_flat.o
26
obj-$(CONFIG_KEXEC)		+= machine_kexec.o relocate_kernel_64.o crash_64.o
27
obj-$(CONFIG_CRASH_DUMP)	+= crash_dump.o
L
Linus Torvalds 已提交
28
obj-$(CONFIG_PM)		+= suspend.o
29
obj-$(CONFIG_HIBERNATION)	+= suspend_asm_64.o
T
Thomas Gleixner 已提交
30
obj-$(CONFIG_CPU_FREQ)		+= ../../i386/kernel/cpu/cpufreq/
L
Linus Torvalds 已提交
31
obj-$(CONFIG_EARLY_PRINTK)	+= early_printk.o
32
obj-$(CONFIG_IOMMU)		+= pci-gart.o aperture_64.o
33
obj-$(CONFIG_CALGARY_IOMMU)	+= pci-calgary_64.o tce_64.o
34
obj-$(CONFIG_SWIOTLB)		+= pci-swiotlb_64.o
L
Linus Torvalds 已提交
35
obj-$(CONFIG_KPROBES)		+= kprobes.o
A
Andi Kleen 已提交
36
obj-$(CONFIG_X86_PM_TIMER)	+= pmtimer.o
37
obj-$(CONFIG_X86_VSMP)		+= vsmp_64.o
38
obj-$(CONFIG_K8_NB)		+= k8.o
A
Al Viro 已提交
39
obj-$(CONFIG_AUDIT)		+= audit.o
L
Linus Torvalds 已提交
40

41
obj-$(CONFIG_MODULES)		+= module_64.o
42
obj-$(CONFIG_PCI)		+= early-quirks.o
L
Linus Torvalds 已提交
43 44 45

obj-y				+= topology.o
obj-y				+= intel_cacheinfo.o
46
obj-y				+= addon_cpuid_features.o
47
obj-y				+= pcspeaker.o
L
Linus Torvalds 已提交
48

49
CFLAGS_vsyscall_64.o		:= $(PROFILING) -g0
L
Linus Torvalds 已提交
50

51
therm_throt-y                   += ../../i386/kernel/cpu/mcheck/therm_throt.o
L
Linus Torvalds 已提交
52 53
bootflag-y			+= ../../i386/kernel/bootflag.o
cpuid-$(subst m,y,$(CONFIG_X86_CPUID))  += ../../i386/kernel/cpuid.o
54
topology-y                     += ../../i386/kernel/topology.o
L
Linus Torvalds 已提交
55 56
microcode-$(subst m,y,$(CONFIG_MICROCODE))  += ../../i386/kernel/microcode.o
intel_cacheinfo-y		+= ../../i386/kernel/cpu/intel_cacheinfo.o
57
addon_cpuid_features-y		+= ../../i386/kernel/cpu/addon_cpuid_features.o
L
Linus Torvalds 已提交
58
quirks-y			+= ../../i386/kernel/quirks.o
59
i8237-y				+= ../../i386/kernel/i8237.o
60
msr-$(subst m,y,$(CONFIG_X86_MSR))  += ../../i386/kernel/msr.o
61
alternative-y			+= ../../i386/kernel/alternative.o
62
pcspeaker-y			+= ../../i386/kernel/pcspeaker.o
63
perfctr-watchdog-y		+= ../../i386/kernel/cpu/perfctr-watchdog.o