Makefile 1.0 KB
Newer Older
L
Linus Torvalds 已提交
1
#
I
Ingo Molnar 已提交
2
# Makefile for x86-compatible CPU details, features and quirks
L
Linus Torvalds 已提交
3 4
#

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

Y
Yinghai Lu 已提交
8 9
obj-$(CONFIG_X86_32)	+= bugs.o cmpxchg.o
obj-$(CONFIG_X86_64)	+= bugs_64.o
10

Y
Yinghai Lu 已提交
11
obj-$(CONFIG_CPU_SUP_INTEL)		+= intel.o
Y
Yinghai Lu 已提交
12
obj-$(CONFIG_CPU_SUP_AMD)		+= amd.o
13 14 15 16 17
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
L
Linus Torvalds 已提交
18

I
Ingo Molnar 已提交
19
obj-$(CONFIG_PERF_COUNTERS)		+= perf_counter.o
20

I
Ingo Molnar 已提交
21 22 23 24 25
obj-$(CONFIG_X86_MCE)			+= mcheck/
obj-$(CONFIG_MTRR)			+= mtrr/
obj-$(CONFIG_CPU_FREQ)			+= cpufreq/

obj-$(CONFIG_X86_LOCAL_APIC)		+= perfctr-watchdog.o
26 27 28 29

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

A
Al Viro 已提交
30
cpufeature = $(src)/../../include/asm/cpufeature.h
31 32 33 34

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