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

5 6 7 8 9
# Don't trace early stages of a secondary CPU boot
ifdef CONFIG_FUNCTION_TRACER
CFLAGS_REMOVE_common.o = -pg
endif

10
obj-y			:= intel_cacheinfo.o addon_cpuid_features.o
Y
Yinghai Lu 已提交
11
obj-y			+= proc.o capflags.o powerflags.o common.o
12
obj-y			+= vmware.o hypervisor.o
L
Linus Torvalds 已提交
13

Y
Yinghai Lu 已提交
14 15
obj-$(CONFIG_X86_32)	+= bugs.o cmpxchg.o
obj-$(CONFIG_X86_64)	+= bugs_64.o
16

17 18
obj-$(CONFIG_X86_CPU_DEBUG)		+= cpu_debug.o

Y
Yinghai Lu 已提交
19
obj-$(CONFIG_CPU_SUP_INTEL)		+= intel.o
Y
Yinghai Lu 已提交
20
obj-$(CONFIG_CPU_SUP_AMD)		+= amd.o
21
obj-$(CONFIG_CPU_SUP_CYRIX_32)		+= cyrix.o
22
obj-$(CONFIG_CPU_SUP_CENTAUR)		+= centaur.o
23 24
obj-$(CONFIG_CPU_SUP_TRANSMETA_32)	+= transmeta.o
obj-$(CONFIG_CPU_SUP_UMC_32)		+= umc.o
L
Linus Torvalds 已提交
25

26 27 28
obj-$(CONFIG_X86_MCE)	+= mcheck/
obj-$(CONFIG_MTRR)	+= mtrr/
obj-$(CONFIG_CPU_FREQ)	+= cpufreq/
29 30

obj-$(CONFIG_X86_LOCAL_APIC) += perfctr-watchdog.o
31 32 33 34

quiet_cmd_mkcapflags = MKCAP   $@
      cmd_mkcapflags = $(PERL) $(srctree)/$(src)/mkcapflags.pl $< $@

A
Al Viro 已提交
35
cpufeature = $(src)/../../include/asm/cpufeature.h
36 37 38 39

targets += capflags.c
$(obj)/capflags.c: $(cpufeature) $(src)/mkcapflags.pl FORCE
	$(call if_changed,mkcapflags)