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_X86_CPU_DEBUG
) += cpu_debug.o
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
27 obj-
$(CONFIG_X86_MCE
) += mcheck
/
28 obj-
$(CONFIG_MTRR
) += mtrr
/
29 obj-
$(CONFIG_CPU_FREQ
) += cpufreq
/
31 obj-
$(CONFIG_X86_LOCAL_APIC
) += perfctr-watchdog.o
33 quiet_cmd_mkcapflags
= MKCAP
$@
34 cmd_mkcapflags
= $(PERL
) $(srctree
)/$(src
)/mkcapflags.pl
$< $@
36 cpufeature
= $(src
)/..
/..
/include/asm
/cpufeature.h
39 $(obj
)/capflags.c
: $(cpufeature
) $(src
)/mkcapflags.pl FORCE
40 $(call if_changed
,mkcapflags
)