2005-04-17 06:20:36 +08:00
|
|
|
#
|
2008-12-03 17:39:53 +08:00
|
|
|
# Makefile for x86-compatible CPU details, features and quirks
|
2005-04-17 06:20:36 +08:00
|
|
|
#
|
|
|
|
|
2008-12-25 06:30:02 +08:00
|
|
|
# Don't trace early stages of a secondary CPU boot
|
|
|
|
ifdef CONFIG_FUNCTION_TRACER
|
|
|
|
CFLAGS_REMOVE_common.o = -pg
|
|
|
|
endif
|
|
|
|
|
2007-10-24 04:37:23 +08:00
|
|
|
obj-y := intel_cacheinfo.o addon_cpuid_features.o
|
2008-09-05 11:09:14 +08:00
|
|
|
obj-y += proc.o capflags.o powerflags.o common.o
|
2008-10-28 01:41:46 +08:00
|
|
|
obj-y += vmware.o hypervisor.o
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2008-09-05 11:09:14 +08:00
|
|
|
obj-$(CONFIG_X86_32) += bugs.o cmpxchg.o
|
|
|
|
obj-$(CONFIG_X86_64) += bugs_64.o
|
2008-08-05 17:45:19 +08:00
|
|
|
|
2009-03-10 18:07:51 +08:00
|
|
|
obj-$(CONFIG_X86_CPU_DEBUG) += cpu_debug.o
|
|
|
|
|
2008-09-10 07:40:37 +08:00
|
|
|
obj-$(CONFIG_CPU_SUP_INTEL) += intel.o
|
2008-09-08 08:58:56 +08:00
|
|
|
obj-$(CONFIG_CPU_SUP_AMD) += amd.o
|
2008-08-05 17:45:19 +08:00
|
|
|
obj-$(CONFIG_CPU_SUP_CYRIX_32) += cyrix.o
|
2009-03-14 19:24:02 +08:00
|
|
|
obj-$(CONFIG_CPU_SUP_CENTAUR) += centaur.o
|
2008-08-05 17:45:19 +08:00
|
|
|
obj-$(CONFIG_CPU_SUP_TRANSMETA_32) += transmeta.o
|
|
|
|
obj-$(CONFIG_CPU_SUP_UMC_32) += umc.o
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2008-12-03 17:39:53 +08:00
|
|
|
obj-$(CONFIG_PERF_COUNTERS) += perf_counter.o
|
2007-05-03 01:27:20 +08:00
|
|
|
|
2008-12-03 17:39:53 +08:00
|
|
|
obj-$(CONFIG_X86_MCE) += mcheck/
|
|
|
|
obj-$(CONFIG_MTRR) += mtrr/
|
|
|
|
obj-$(CONFIG_CPU_FREQ) += cpufreq/
|
|
|
|
|
|
|
|
obj-$(CONFIG_X86_LOCAL_APIC) += perfctr-watchdog.o
|
2008-08-28 08:56:44 +08:00
|
|
|
|
|
|
|
quiet_cmd_mkcapflags = MKCAP $@
|
|
|
|
cmd_mkcapflags = $(PERL) $(srctree)/$(src)/mkcapflags.pl $< $@
|
|
|
|
|
2008-08-18 09:05:42 +08:00
|
|
|
cpufeature = $(src)/../../include/asm/cpufeature.h
|
2008-08-28 08:56:44 +08:00
|
|
|
|
|
|
|
targets += capflags.c
|
|
|
|
$(obj)/capflags.c: $(cpufeature) $(src)/mkcapflags.pl FORCE
|
|
|
|
$(call if_changed,mkcapflags)
|