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