perf_counter: Accurate period data
[linux-2.6] / arch / x86 / kernel / cpu / Makefile
1 #
2 # Makefile for x86-compatible CPU details, features 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)           += centaur.o
23 obj-$(CONFIG_CPU_SUP_TRANSMETA_32)      += transmeta.o
24 obj-$(CONFIG_CPU_SUP_UMC_32)            += umc.o
25
26 obj-$(CONFIG_PERF_COUNTERS)             += perf_counter.o
27
28 obj-$(CONFIG_X86_MCE)                   += mcheck/
29 obj-$(CONFIG_MTRR)                      += mtrr/
30 obj-$(CONFIG_CPU_FREQ)                  += cpufreq/
31
32 obj-$(CONFIG_X86_LOCAL_APIC)            += perfctr-watchdog.o
33
34 quiet_cmd_mkcapflags = MKCAP   $@
35       cmd_mkcapflags = $(PERL) $(srctree)/$(src)/mkcapflags.pl $< $@
36
37 cpufeature = $(src)/../../include/asm/cpufeature.h
38
39 targets += capflags.c
40 $(obj)/capflags.c: $(cpufeature) $(src)/mkcapflags.pl FORCE
41         $(call if_changed,mkcapflags)