Merge branches 'tracing/ftrace' and 'linus' into tracing/core
[linux-2.6] / arch / x86 / kernel / cpu / Makefile
1 #
2 # Makefile for x86-compatible CPU details and quirks
3 #
4
5 # Don't trace early stages of a secondary CPU boot
6 ifdef CONFIG_FUNCTION_TRACER
7 CFLAGS_REMOVE_common.o = -pg
8 endif
9
10 obj-y                   := intel_cacheinfo.o addon_cpuid_features.o
11 obj-y                   += proc.o capflags.o powerflags.o common.o
12 obj-y                   += vmware.o hypervisor.o
13
14 obj-$(CONFIG_X86_32)    += bugs.o cmpxchg.o
15 obj-$(CONFIG_X86_64)    += bugs_64.o
16
17 obj-$(CONFIG_X86_CPU_DEBUG)             += cpu_debug.o
18
19 obj-$(CONFIG_CPU_SUP_INTEL)             += intel.o
20 obj-$(CONFIG_CPU_SUP_AMD)               += amd.o
21 obj-$(CONFIG_CPU_SUP_CYRIX_32)          += cyrix.o
22 obj-$(CONFIG_CPU_SUP_CENTAUR_32)        += centaur.o
23 obj-$(CONFIG_CPU_SUP_CENTAUR_64)        += centaur_64.o
24 obj-$(CONFIG_CPU_SUP_TRANSMETA_32)      += transmeta.o
25 obj-$(CONFIG_CPU_SUP_UMC_32)            += umc.o
26
27 obj-$(CONFIG_X86_MCE)   += mcheck/
28 obj-$(CONFIG_MTRR)      += mtrr/
29 obj-$(CONFIG_CPU_FREQ)  += cpufreq/
30
31 obj-$(CONFIG_X86_LOCAL_APIC) += perfctr-watchdog.o
32
33 quiet_cmd_mkcapflags = MKCAP   $@
34       cmd_mkcapflags = $(PERL) $(srctree)/$(src)/mkcapflags.pl $< $@
35
36 cpufeature = $(src)/../../include/asm/cpufeature.h
37
38 targets += capflags.c
39 $(obj)/capflags.c: $(cpufeature) $(src)/mkcapflags.pl FORCE
40         $(call if_changed,mkcapflags)