Full support for Ginger Console
[linux-ginger.git] / arch / x86 / kernel / cpu / Makefile
blob68537e957a9b2cd621185e275103c201af9502e6
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 # Make sure load_percpu_segment has no stackprotector
11 nostackp := $(call cc-option, -fno-stack-protector)
12 CFLAGS_common.o := $(nostackp)
14 obj-y := intel_cacheinfo.o addon_cpuid_features.o
15 obj-y += proc.o capflags.o powerflags.o common.o
16 obj-y += vmware.o hypervisor.o sched.o
18 obj-$(CONFIG_X86_32) += bugs.o cmpxchg.o
19 obj-$(CONFIG_X86_64) += bugs_64.o
21 obj-$(CONFIG_X86_CPU_DEBUG) += cpu_debug.o
23 obj-$(CONFIG_CPU_SUP_INTEL) += intel.o
24 obj-$(CONFIG_CPU_SUP_AMD) += amd.o
25 obj-$(CONFIG_CPU_SUP_CYRIX_32) += cyrix.o
26 obj-$(CONFIG_CPU_SUP_CENTAUR) += centaur.o
27 obj-$(CONFIG_CPU_SUP_TRANSMETA_32) += transmeta.o
28 obj-$(CONFIG_CPU_SUP_UMC_32) += umc.o
30 obj-$(CONFIG_PERF_EVENTS) += perf_event.o
32 obj-$(CONFIG_X86_MCE) += mcheck/
33 obj-$(CONFIG_MTRR) += mtrr/
34 obj-$(CONFIG_CPU_FREQ) += cpufreq/
36 obj-$(CONFIG_X86_LOCAL_APIC) += perfctr-watchdog.o
38 quiet_cmd_mkcapflags = MKCAP $@
39 cmd_mkcapflags = $(PERL) $(srctree)/$(src)/mkcapflags.pl $< $@
41 cpufeature = $(src)/../../include/asm/cpufeature.h
43 targets += capflags.c
44 $(obj)/capflags.c: $(cpufeature) $(src)/mkcapflags.pl FORCE
45 $(call if_changed,mkcapflags)