2 # Makefile for x86-compatible CPU details and quirks
5 # Don't trace early stages of a secondary CPU boot
6 ifdef CONFIG_FUNCTION_TRACER
7 CFLAGS_REMOVE_common.o = -pg
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
14 obj-$(CONFIG_X86_32) += bugs.o cmpxchg.o
15 obj-$(CONFIG_X86_64) += bugs_64.o
17 obj-$(CONFIG_CPU_SUP_INTEL) += intel.o
18 obj-$(CONFIG_CPU_SUP_AMD) += amd.o
19 obj-$(CONFIG_CPU_SUP_CYRIX_32) += cyrix.o
20 obj-$(CONFIG_CPU_SUP_CENTAUR_32) += centaur.o
21 obj-$(CONFIG_CPU_SUP_CENTAUR_64) += centaur_64.o
22 obj-$(CONFIG_CPU_SUP_TRANSMETA_32) += transmeta.o
23 obj-$(CONFIG_CPU_SUP_UMC_32) += umc.o
25 obj-$(CONFIG_X86_MCE) += mcheck/
26 obj-$(CONFIG_MTRR) += mtrr/
27 obj-$(CONFIG_CPU_FREQ) += cpufreq/
29 obj-$(CONFIG_X86_LOCAL_APIC) += perfctr-watchdog.o
31 quiet_cmd_mkcapflags = MKCAP $@
32 cmd_mkcapflags = $(PERL) $(srctree)/$(src)/mkcapflags.pl $< $@
34 cpufeature = $(src)/../../include/asm/cpufeature.h
37 $(obj)/capflags.c: $(cpufeature) $(src)/mkcapflags.pl FORCE
38 $(call if_changed,mkcapflags)