acpi_pad: build only on X86
[linux-2.6/linux-acpi-2.6.git] / arch / x86 / kernel / cpu / Makefile
blob3efcb2b96a150e361f9a1f66ccbfaef692b98432
2 # Makefile for x86-compatible CPU details, features and quirks
5 # Don't trace early stages of a secondary CPU boot
6 ifdef CONFIG_FUNCTION_TRACER
7 CFLAGS_REMOVE_common.o = -pg
8 endif
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) += centaur.o
23 obj-$(CONFIG_CPU_SUP_TRANSMETA_32) += transmeta.o
24 obj-$(CONFIG_CPU_SUP_UMC_32) += umc.o
26 obj-$(CONFIG_PERF_COUNTERS) += perf_counter.o
28 obj-$(CONFIG_X86_MCE) += mcheck/
29 obj-$(CONFIG_MTRR) += mtrr/
30 obj-$(CONFIG_CPU_FREQ) += cpufreq/
32 obj-$(CONFIG_X86_LOCAL_APIC) += perfctr-watchdog.o
34 quiet_cmd_mkcapflags = MKCAP $@
35 cmd_mkcapflags = $(PERL) $(srctree)/$(src)/mkcapflags.pl $< $@
37 cpufeature = $(src)/../../include/asm/cpufeature.h
39 targets += capflags.c
40 $(obj)/capflags.c: $(cpufeature) $(src)/mkcapflags.pl FORCE
41 $(call if_changed,mkcapflags)