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