2005-04-17 06:20:36 +08:00
|
|
|
#
|
|
|
|
# Makefile for x86-compatible CPU details and quirks
|
|
|
|
#
|
|
|
|
|
2007-10-24 04:37:23 +08:00
|
|
|
obj-y := intel_cacheinfo.o addon_cpuid_features.o
|
2008-08-28 08:56:44 +08:00
|
|
|
obj-y += proc.o capflags.o powerflags.o
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2008-08-18 18:33:21 +08:00
|
|
|
obj-$(CONFIG_X86_32) += common.o bugs.o cmpxchg.o
|
2008-06-21 18:24:19 +08:00
|
|
|
obj-$(CONFIG_X86_64) += common_64.o bugs_64.o
|
2008-08-05 17:45:19 +08:00
|
|
|
|
2008-09-05 03:09:45 +08:00
|
|
|
obj-$(CONFIG_CPU_SUP_INTEL_32) += intel.o
|
|
|
|
obj-$(CONFIG_CPU_SUP_INTEL_64) += intel_64.o
|
2008-08-05 17:45:19 +08:00
|
|
|
obj-$(CONFIG_CPU_SUP_AMD_32) += amd.o
|
|
|
|
obj-$(CONFIG_CPU_SUP_AMD_64) += amd_64.o
|
|
|
|
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-17 06:20:36 +08:00
|
|
|
|
2007-10-24 04:37:23 +08:00
|
|
|
obj-$(CONFIG_X86_MCE) += mcheck/
|
|
|
|
obj-$(CONFIG_MTRR) += mtrr/
|
|
|
|
obj-$(CONFIG_CPU_FREQ) += cpufreq/
|
2007-05-03 01:27:20 +08:00
|
|
|
|
|
|
|
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 $< $@
|
|
|
|
|
|
|
|
cpufeature = $(src)/../../../../include/asm-x86/cpufeature.h
|
|
|
|
|
|
|
|
targets += capflags.c
|
|
|
|
$(obj)/capflags.c: $(cpufeature) $(src)/mkcapflags.pl FORCE
|
|
|
|
$(call if_changed,mkcapflags)
|