2 # Makefile for x86-compatible CPU details and quirks
5 obj-y := intel_cacheinfo.o addon_cpuid_features.o
6 obj-y += proc.o capflags.o powerflags.o common.o
8 obj-$(CONFIG_X86_32) += bugs.o cmpxchg.o
9 obj-$(CONFIG_X86_64) += bugs_64.o
11 obj-$(CONFIG_CPU_SUP_INTEL) += intel.o
12 obj-$(CONFIG_CPU_SUP_AMD) += amd.o
13 obj-$(CONFIG_CPU_SUP_CYRIX_32) += cyrix.o
14 obj-$(CONFIG_CPU_SUP_CENTAUR_32) += centaur.o
15 obj-$(CONFIG_CPU_SUP_CENTAUR_64) += centaur_64.o
16 obj-$(CONFIG_CPU_SUP_TRANSMETA_32) += transmeta.o
17 obj-$(CONFIG_CPU_SUP_UMC_32) += umc.o
19 obj-$(CONFIG_X86_MCE) += mcheck/
20 obj-$(CONFIG_MTRR) += mtrr/
21 obj-$(CONFIG_CPU_FREQ) += cpufreq/
23 obj-$(CONFIG_X86_LOCAL_APIC) += perfctr-watchdog.o
25 quiet_cmd_mkcapflags = MKCAP $@
26 cmd_mkcapflags = $(PERL) $(srctree)/$(src)/mkcapflags.pl $< $@
28 cpufeature = $(src)/../../../../include/asm-x86/cpufeature.h
31 $(obj)/capflags.c: $(cpufeature) $(src)/mkcapflags.pl FORCE
32 $(call if_changed,mkcapflags)