Makefile 1.1 KB
Newer Older
L
Linus Torvalds 已提交
1 2 3 4
#
# Makefile for x86-compatible CPU details and quirks
#

5
obj-y			:= intel_cacheinfo.o addon_cpuid_features.o
6
obj-y			+= proc.o capflags.o powerflags.o
L
Linus Torvalds 已提交
7

8
obj-$(CONFIG_X86_32)	+= common.o bugs.o cmpxchg.o
9
obj-$(CONFIG_X86_64)	+= common_64.o bugs_64.o
10 11 12 13 14 15 16 17 18 19

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_INTEL_32)		+= intel.o
obj-$(CONFIG_CPU_SUP_INTEL_64)		+= intel_64.o
obj-$(CONFIG_CPU_SUP_UMC_32)		+= umc.o
L
Linus Torvalds 已提交
20

21 22 23
obj-$(CONFIG_X86_MCE)	+= mcheck/
obj-$(CONFIG_MTRR)	+= mtrr/
obj-$(CONFIG_CPU_FREQ)	+= cpufreq/
24 25

obj-$(CONFIG_X86_LOCAL_APIC) += perfctr-watchdog.o
26 27 28 29 30 31 32 33 34

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)